Allow message from pending member if it's just a group update

Fixes #751
This commit is contained in:
AsamK 2021-09-28 23:48:16 +02:00
parent 593cd7d8ca
commit f44b148946

View file

@ -416,7 +416,7 @@ public final class IncomingMessageHandler {
} }
final var recipientId = recipientResolver.resolveRecipient(source); final var recipientId = recipientResolver.resolveRecipient(source);
if (!group.isMember(recipientId)) { if (!group.isMember(recipientId) && !(group.isPendingMember(recipientId) && message.isGroupV2Update())) {
return true; return true;
} }