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:
parent
b3ef3c3477
commit
f0b9955311
3 changed files with 264 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue