0
votes

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='[email protected]'
    to='[email protected]'
    type='set'
    id='E6E10350-76CF-40C6-B91B-1EA08C332FC7'>
  <unsubscribe xmlns='urn:xmpp:mucsub:0' />
</iq>
1

1 Answers

0
votes

Never mind - was able to fix this by extending process_iq_mucsub...