openfire - How to remove self from memberlist in XMPP -
in openfire using xmpp, when create persistent room, users can add if invited.
when send invite user room joining join using:
<presence from="jid@hostname.com/resource" to="groupname@servicename.hostname.com/nickname"> <x xmlns="http://jabber.org/protocol/muc" /> </presence>
the newly added participant member of room. when want leave room, use
<presence type="unavailable" to="groupname@servicename.hostname.com" from="jid@hostname.com" >
using leaves room not getting deleted memberlist of room.
how remove memberlist?
i requesting member list 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 in openfire there link:
group chat -> room administration -> user permissions
which shows actual list of members permissions.
Comments
Post a Comment