Refresh group before updating
This commit is contained in:
parent
c9c8af42c2
commit
01e1115806
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user