Fix crash when receiving group request for unkown group

Fixes #33
This commit is contained in:
AsamK 2016-11-26 13:26:04 +01:00
parent c542fb87cb
commit 5b839bbae0

View file

@ -938,10 +938,14 @@ class Manager implements Signal {
}
break;
case REQUEST_INFO:
if (group != null) {
try {
sendUpdateGroupMessage(groupInfo.getGroupId(), source);
} catch (IOException | EncapsulatedExceptions e) {
e.printStackTrace();
} catch (NotAGroupMemberException e) {
// We have left this group, so don't send a group update message
}
}
break;
}