[muc] Also process destory message if it contains <status/>
Fixes SMACK-915
This commit is contained in:
parent
ec456399b5
commit
820adf8865
|
@ -259,6 +259,7 @@ public class MultiUserChat {
|
||||||
listener.left(from);
|
listener.left(from);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Destroy destroy = mucUser.getDestroy();
|
Destroy destroy = mucUser.getDestroy();
|
||||||
// The room has been destroyed.
|
// The room has been destroyed.
|
||||||
|
@ -275,7 +276,7 @@ public class MultiUserChat {
|
||||||
listener.roomDestroyed(alternateMuc, destroy.getReason());
|
listener.roomDestroyed(alternateMuc, destroy.getReason());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if (isUserStatusModification) {
|
if (isUserStatusModification) {
|
||||||
for (UserStatusListener listener : userStatusListeners) {
|
for (UserStatusListener listener : userStatusListeners) {
|
||||||
listener.removed(mucUser, presence);
|
listener.removed(mucUser, presence);
|
||||||
|
|
Loading…
Reference in New Issue