Update OsMoGroups.java

This commit is contained in:
vshcherb 2014-05-29 16:14:16 +02:00
parent dd84388998
commit bad981ea91

View file

@ -267,7 +267,7 @@ public class OsMoGroups implements OsMoReactor, OsmoTrackerListener {
if (o.has(USER_NAME)) {
device.serverName = o.getString(USER_NAME);
}
if (o.has(DELETED) && o.getBoolean(DELETED)) {
if (o.has(DELETED)) {
device.deleted = System.currentTimeMillis();
} else {
device.deleted = 0;