I've incorporated MUC/Sub in my ejabberd client implementation and want an MUC owner to be able to remove another user (who has a participant role and a member affiliation, and is also subscribed to the MUC/Sub node for this room to enable receiving offline messages).
Apart from making the owner force-change the affiliation to 'none', how can I implement the unsubscription from the MUC/Sub node?
I see the following stanza in the MUC/Sub docs, but that helps a user to unsubscribe from the MUC/Sub node himself, not for someone else...
<iq from='hag66@shakespeare.example'
to='coven@muc.shakespeare.example'
type='set'
id='E6E10350-76CF-40C6-B91B-1EA08C332FC7'>
<unsubscribe xmlns='urn:xmpp:mucsub:0' />
</iq>
Never mind - was able to fix this by extending process_iq_mucsub...