Conversation Return Null
tkhabbab opened this issue · 2 comments
tkhabbab commented
I'm using this two function :
Kommunicate.createConversation(conversation: kmConversation) { result in
print(result)
switch result {
case .success(let conversationId):
DLog("Conversation id: ",conversationId)
DispatchQueue.main.async {
SVProgressHUD.dismiss()
Kommunicate.showConversationWith(groupId: conversationId, from: self, completionHandler: { success in
print(success)
if success {
DLog("Show Conversation Succeed")
} else {
DLog("Show Conversation Failed")
}
})
}
// Launch conversation
case .failure(let kmConversationError):
SVProgressHUD.dismiss()
DLog("Failed to create a conversation: \(kmConversationError)")
}
}
}
PoojaGC commented
The issue is resolved via call.