The error message returned from conversation.leave()
(along with conversation.removeParticipant
) is:
Uncaught (in promise) Error: Transport failure: UPSTREAM_REQUEST_PARSING_FAILURE
Using this code to initialize my conversation. Here's the important snippet of it:
this.state.conversationsClient.on("conversationJoined", async (conversation: Conversation) => {
this.setState({conversation:conversation})
})
Within my ComponentUnmount:
await this.state.conversation.leave()
However the other participant in the conversation can do this without error. Is the first user not allowed to leave conversations perhaps? If so how does one signal when participants join the conversation if one of them cannot leave?