quickblox-ios-sdk: iOS: Cannot create/join room when already creating/joining/joined.
I fail to join the group chat I was invited in (by setting me as an occupant with another account).
I receive the error message: Cannot create/join room when already creating/joining/join
When I try to send a message in this chat I receive the following messages in logs (since I’m not joined to the room):
- [QBChatDialog isAlreadyJoined] -> You have to join to room to use Chat API!
- Failed to send message with error: Error Domain=com.quickblox.chat Code=-1001 “(null)” UserInfo={NSLocalizedRecoverySuggestion=You are not joined to the dialog.}
However I can not join the dialog for some reason.
if (!dialog.isJoined) {
[[ServicesManager instance].chatService joinToGroupDialog:dialog completion:^(NSError * _Nullable error) {
if (error) {
NSLog(@"JOIN CHAT ERROR: %@", error);
}
...
}];
}
Any help what I’m doing wrong?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 4
- Comments: 34
Please attach logs from the start of the app till this join error.
Already Enabled