fixed presence template dedup for 'online' status
This commit is contained in:
parent
ebe71e5c10
commit
3877cacd62
1 changed files with 2 additions and 1 deletions
|
@ -28,10 +28,11 @@ public class PresenceTemplate extends AbstractEntity {
|
|||
|
||||
@Override
|
||||
public ContentValues getContentValues() {
|
||||
final String show = status.toShowString();
|
||||
ContentValues values = new ContentValues();
|
||||
values.put(LAST_USED, lastUsed);
|
||||
values.put(MESSAGE, statusMessage);
|
||||
values.put(STATUS, status.toShowString());
|
||||
values.put(STATUS, show == null ? "" : show);
|
||||
values.put(UUID, uuid);
|
||||
return values;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue