diff --git a/src/org/thoughtcrime/securesms/database/GroupDatabase.java b/src/org/thoughtcrime/securesms/database/GroupDatabase.java index f35d8a3e11..6c9bdd6724 100644 --- a/src/org/thoughtcrime/securesms/database/GroupDatabase.java +++ b/src/org/thoughtcrime/securesms/database/GroupDatabase.java @@ -99,7 +99,7 @@ public class GroupDatabase extends Database { } public boolean isUnknownGroup(String groupId) { - return getGroup(groupId) == null; + return !getGroup(groupId).isPresent(); } public Reader getGroupsFilteredByTitle(String constraint) {