mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
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:
parent
26840a2f0f
commit
916d0e3cf1
1 changed files with 1 additions and 7 deletions
|
@ -1329,13 +1329,7 @@ public class Manager implements Signal {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case QUIT:
|
case QUIT:
|
||||||
if (group == null) {
|
if (group != null) {
|
||||||
try {
|
|
||||||
sendGroupInfoRequest(groupInfo.getGroupId(), source);
|
|
||||||
} catch (IOException | EncapsulatedExceptions e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
group.removeMember(source);
|
group.removeMember(source);
|
||||||
account.getGroupStore().updateGroup(group);
|
account.getGroupStore().updateGroup(group);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue