Skip to content

Commit

Permalink
fix: wait for contact allow before return convo
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine committed Oct 31, 2023
1 parent e86ac72 commit ff1f890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conversations/Conversations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ export default class Conversations<ContentTypes = any> {
])

// add peer address to allow list
this.client.contacts.allow([peerAddress])
await this.client.contacts.allow([peerAddress])

return this.conversationReferenceToV2(conversation)
}
Expand Down

0 comments on commit ff1f890

Please sign in to comment.