From 2bd0d05e4ecbc85a1de502dd7de3dcccabd92837 Mon Sep 17 00:00:00 2001 From: PatrykBuniX Date: Thu, 18 Jan 2024 17:09:48 +0100 Subject: [PATCH] runfix: add e2ei-verification type to expected events --- src/script/conversation/ConversationRepository.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/script/conversation/ConversationRepository.ts b/src/script/conversation/ConversationRepository.ts index 01a66f16893a..15501d0495d4 100644 --- a/src/script/conversation/ConversationRepository.ts +++ b/src/script/conversation/ConversationRepository.ts @@ -2806,7 +2806,11 @@ export class ConversationRepository { const inSelfConversation = this.conversationState.isSelfConversation(conversationId); if (inSelfConversation) { - const typesInSelfConversation = [CONVERSATION_EVENT.MEMBER_UPDATE, ClientEvent.CONVERSATION.MESSAGE_HIDDEN]; + const typesInSelfConversation = [ + CONVERSATION_EVENT.MEMBER_UPDATE, + ClientEvent.CONVERSATION.MESSAGE_HIDDEN, + CLIENT_CONVERSATION_EVENT.E2EI_VERIFICATION, + ]; const isExpectedType = typesInSelfConversation.includes(type); if (!isExpectedType) {