We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When a room is destroyed it is not very well handled.
in - (void)xmppStream:(XMPPStream *)sender didReceivePresence:(XMPPPresence *)presence
I added:
BOOL isDestroy = [x elementForName:@"destroy"] != nil;
And then i added:
if (isAvailable) { if (state & kXMPPRoomStateJoining) { state &= ~kXMPPRoomStateJoining; state |= kXMPPRoomStateJoined; if ([xmppRoomStorage respondsToSelector:@selector(handleDidJoinRoom:withNickname:)]) [xmppRoomStorage handleDidJoinRoom:self withNickname:myNickname]; [multicastDelegate xmppRoomDidJoin:self]; } } else if (isDestroy) { state = kXMPPRoomStateNone; [responseTracker removeAllIDs]; [xmppRoomStorage handleDidLeaveRoom:self]; [multicastDelegate xmppRoomDidDestroy:self]; } else if (isUnavailable && !isNicknameChange) { state = kXMPPRoomStateNone; [responseTracker removeAllIDs]; [xmppRoomStorage handleDidLeaveRoom:self]; [multicastDelegate xmppRoomDidLeave:self]; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When a room is destroyed it is not very well handled.
in
- (void)xmppStream:(XMPPStream *)sender didReceivePresence:(XMPPPresence *)presence
I added:
And then i added:
The text was updated successfully, but these errors were encountered: