fixed presence template dedup for 'online' status
This commit is contained in:
parent
fad8b702aa
commit
cef2eb58a7
|
@ -28,10 +28,11 @@ public class PresenceTemplate extends AbstractEntity {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ContentValues getContentValues() {
|
public ContentValues getContentValues() {
|
||||||
|
final String show = status.toShowString();
|
||||||
ContentValues values = new ContentValues();
|
ContentValues values = new ContentValues();
|
||||||
values.put(LAST_USED, lastUsed);
|
values.put(LAST_USED, lastUsed);
|
||||||
values.put(MESSAGE, statusMessage);
|
values.put(MESSAGE, statusMessage);
|
||||||
values.put(STATUS, status.toShowString());
|
values.put(STATUS, show == null ? "" : show);
|
||||||
values.put(UUID, uuid);
|
values.put(UUID, uuid);
|
||||||
return values;
|
return values;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue