diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java index 2bddb31e7..2c6316854 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java @@ -2201,9 +2201,6 @@ public class MultiUserChat { * Remove all callbacks and resources necessary when the user has left the room for some reason. */ private synchronized void userHasLeft() { - // We do not reset nickname here, in case this method has been called erroneously, it should still be possible - // to call leave() in order to resync the state. And leave() requires the nickname to send the unsubscribe - // presence. occupantsMap.clear(); myRoomJid = null; // Update the list of joined rooms