From 5a0f671aa4c0e95289e4110e4297efb63d954955 Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Wed, 13 Sep 2017 17:19:59 -0700 Subject: [PATCH] Fix not sending group info request messages Fixes #6962 // FREEBIE --- src/org/thoughtcrime/securesms/database/GroupDatabase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {