1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-26 04:28:00 +01:00

muc: also set myRoomJid to null if we have left the room

This commit is contained in:
Florian Schmaus 2020-04-16 21:39:52 +02:00
parent c519dd1213
commit ab2822be3e

View file

@ -2120,6 +2120,7 @@ public class MultiUserChat {
// presence. // presence.
occupantsMap.clear(); occupantsMap.clear();
joined = false; joined = false;
myRoomJid = null;
// Update the list of joined rooms // Update the list of joined rooms
multiUserChatManager.removeJoinedRoom(room); multiUserChatManager.removeJoinedRoom(room);
removeConnectionCallbacks(); removeConnectionCallbacks();