Fix chat room leave behavior.

fix-message-formatting
Danny van Heumen 12 years ago
parent f954feb608
commit a97c29ae47

@ -1066,7 +1066,7 @@ public void onChannelKick(ChannelKick msg)
if (isMe(kickedUser))
{
IrcStack.this.irc.deleteListener(this);
IrcStack.this.joined.remove(this.chatroom);
IrcStack.this.joined.remove(this.chatroom.getIdentifier());
IrcStack.this.provider.getMUC().fireLocalUserPresenceEvent(
this.chatroom,
LocalUserChatRoomPresenceChangeEvent.LOCAL_USER_KICKED,
@ -1158,7 +1158,7 @@ public void onChannelMessage(ChannelPrivMsg msg)
private void leaveChatRoom()
{
IrcStack.this.irc.deleteListener(this);
IrcStack.this.joined.remove(this.chatroom);
IrcStack.this.joined.remove(this.chatroom.getIdentifier());
IrcStack.this.provider.getMUC().fireLocalUserPresenceEvent(
this.chatroom,
LocalUserChatRoomPresenceChangeEvent.LOCAL_USER_LEFT, null);

Loading…
Cancel
Save