mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-26 02:24:21 +01:00
Refresh group before updating
This commit is contained in:
@@ -513,6 +513,10 @@ public class GroupHelper {
|
||||
if (!g.isMember(account.getSelfRecipientId()) && !g.isPendingMember(account.getSelfRecipientId())) {
|
||||
throw new NotAGroupMemberException(groupId, g.getTitle());
|
||||
}
|
||||
if (groupId instanceof GroupIdV2) {
|
||||
// Refresh group before updating
|
||||
return getGroup(groupId, true);
|
||||
}
|
||||
return g;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user