]> nmode's Git Repositories - signal-cli/blobdiff - src/main/java/org/asamk/signal/JsonGroupStore.java
Improve internal group handling for receiving
[signal-cli] / src / main / java / org / asamk / signal / JsonGroupStore.java
index 29dc00317ba1d40f59394b10c4875eb5df807444..7bcf22c24a5c7c1d4567e960684ba8ab4288be8e 100644 (file)
@@ -25,11 +25,8 @@ public class JsonGroupStore {
         groups.put(Base64.encodeBytes(group.groupId), group);
     }
 
-    GroupInfo getGroup(byte[] groupId) throws GroupNotFoundException {
+    GroupInfo getGroup(byte[] groupId) {
         GroupInfo g = groups.get(Base64.encodeBytes(groupId));
-        if (g == null) {
-            throw new GroupNotFoundException(groupId);
-        }
         return g;
     }