1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-09 17:19:39 +02:00

[muc] Invoke ParticipantStatusListener after revokation of membership

When an occupant gets its membership revoked in an members-only room, the appropriate method of registered ParticipantStatusListeners should be invoked.
This commit is contained in:
Guus der Kinderen 2024-07-13 14:59:07 +02:00
parent b3ef3c3477
commit f0b9955311
3 changed files with 264 additions and 0 deletions

View file

@ -2636,6 +2636,10 @@ public class MultiUserChat {
for (UserStatusListener listener : userStatusListeners) {
listener.membershipRevoked();
}
} else {
for (ParticipantStatusListener listener : participantStatusListeners) {
listener.membershipRevoked(from);
}
}
}
// A occupant has changed his nickname in the room