Don't send group info request after receiving QUIT for unknown group

The sender has quit the group so he won't respond to the info request anyway
This commit is contained in:
AsamK 2020-05-07 12:41:49 +02:00
parent 26840a2f0f
commit 916d0e3cf1

View file

@ -1329,13 +1329,7 @@ public class Manager implements Signal {
}
break;
case QUIT:
if (group == null) {
try {
sendGroupInfoRequest(groupInfo.getGroupId(), source);
} catch (IOException | EncapsulatedExceptions e) {
e.printStackTrace();
}
} else {
if (group != null) {
group.removeMember(source);
account.getGroupStore().updateGroup(group);
}