Fix:Removal of persons from drawer on All PM
When new message is received, sender is updated
in people table, isActive field is false by default,
so make it true.
Fix:
@@ -160,6 +160,7 @@ public class Person {
// use the person id passed to generate person skeleton object which is consistent
// with server id.
person.setId(personId);
+ person.setActive(true);
app.getDao(Person.class).createOrUpdate(person);
} else {
boolean changed = false;
@@ -172,6 +173,7 @@ public class Person {
changed = true;
}
if (changed) {
+ person.setActive(true);
app.getDao(Person.class).update(person);
}
}
