How to remove yourself from the user list in XMPP
In Openfire using XMPP, when I create a persistent room, users can add if invited.
When I send an invitation to a user to join a room, they will use:
<presence from="jid@hostname.com/resource" to="groupname@servicename.hostname.com/nickname">
<x xmlns="http://jabber.org/protocol/muc" />
</presence>
The newly added member is a member of this room. When I want to leave the room, we use
<presence type="unavailable" to="groupname@servicename.hostname.com" from="jid@hostname.com" >
Using this, they leave the room, but are not removed from that room's membership list.
How do I remove a member list from myself?
I am requesting a list of attendees with:
<iq from='crone1@shakespeare.lit/desktop' id='member3' to='coven@chat.shakespeare.lit' type='get'>
<query xmlns='http://jabber.org/protocol/muc#admin'>
<item affiliation='member'/>
</query>
</iq>
or there is a link in Openfire:
Group Chat β Room Administration β User Permissions
Displays an actual list of all members with their permissions.
+3
source to share
No one has answered this question yet
Check out similar questions: