Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[muc] MultiUserChat should have consistent API #615

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

guusdk
Copy link
Member

@guusdk guusdk commented Aug 14, 2024

org.jivesoftware.smackx.muc.MultiUserChat has various methods that change affiliation of entities in the room. All of these work on instances of Jid, except for org.jivesoftware.smackx.muc.MultiUserChat#revokeAdmin(org.jxmpp.jid.EntityJid) (which uses EntityJid).

The API ideally is consistent - even grantAdmin() uses Jid. revokeAdmin() should also use Jid instead of EntityJid.

Fixes SMACK-948.

`org.jivesoftware.smackx.muc.MultiUserChat` has various methods that change affiliation of entities in the room. All of these work on instances of `Jid`, except for `org.jivesoftware.smackx.muc.MultiUserChat#revokeAdmin(org.jxmpp.jid.EntityJid)` (which uses `EntityJid`).

The API ideally is consistent - even `grantAdmin()` uses `Jid`. `revokeAdmin()` should also use `Jid` instead of `EntityJid`.

Fixes SMACK-948
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant