From 2f02d3e21c9d6c62037db99b6d8a908a97abbfee Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Wed, 16 Mar 2022 17:23:12 +1100 Subject: [PATCH] use source instead of senderIdentity to check for approved new group --- ts/receiver/closedGroups.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/receiver/closedGroups.ts b/ts/receiver/closedGroups.ts index 54de697c0..edae2b596 100644 --- a/ts/receiver/closedGroups.ts +++ b/ts/receiver/closedGroups.ts @@ -113,7 +113,7 @@ export async function handleClosedGroupControlMessage( if (type === Type.NEW) { if ( !getConversationController() - .get(envelope.senderIdentity) + .get(envelope.senderIdentity || envelope.source) ?.isApproved() ) { window?.log?.info(