1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 12:02:05 +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.
occupantsMap.clear();
joined = false;
myRoomJid = null;
// Update the list of joined rooms
multiUserChatManager.removeJoinedRoom(room);
removeConnectionCallbacks();