From ff1f8901df6ff4490d667353a19d9595d13d7702 Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Tue, 31 Oct 2023 12:45:24 -0500 Subject: [PATCH] fix: wait for contact allow before return convo --- src/conversations/Conversations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conversations/Conversations.ts b/src/conversations/Conversations.ts index f0320dd13..9c2d1578b 100644 --- a/src/conversations/Conversations.ts +++ b/src/conversations/Conversations.ts @@ -568,7 +568,7 @@ export default class Conversations { ]) // add peer address to allow list - this.client.contacts.allow([peerAddress]) + await this.client.contacts.allow([peerAddress]) return this.conversationReferenceToV2(conversation) }