Rooms is allowing owners, admins and outcasts to be duplicated

Description

MUCRoomImpl#addOwner(String bareJID, MUCRole sendRole)
MUCRoomImpl#addAdmin(String bareJID, MUCRole sendRole)
MUCRoomImpl#addOutcast(String bareJID, String reason, MUCRole senderRole)

are not checking if the user has already the specified affiliation. Therefore, the same JID may end up in the list duplicated. There are not known consequences for this issue.

Environment

None
Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Gaston Dombiak

Reporter

Gaston Dombiak