Merge branch '4.4'

This commit is contained in:
Florian Schmaus 2022-09-02 16:17:12 +02:00
commit 875fb7fcfd
1 changed files with 0 additions and 3 deletions

View File

@ -2232,9 +2232,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