1
votes

Is it possible to automatically add MUC/SUB subscription for every new member that join a MUC room.

For example

  1. urn:xmpp:mucsub:nodes:messages
  2. urn:xmpp:mucsub:nodes:affiliations
  3. urn:xmpp:mucsub:nodes:subject
  4. urn:xmpp:mucsub:nodes:config

Which is similar to running the following iq :

<iq type='set'
    from='[email protected]'
    to='[email protected]'
    id='E6E10350-76CF-40C6-B91B-1EA08C332FC7'>
  <subscribe xmlns='urn:xmpp:mucsub:0' nick='mynick'>
    <event node='urn:xmpp:mucsub:nodes:messages'/>
    <event node='urn:xmpp:mucsub:nodes:affiliations'/>
    <event node='urn:xmpp:mucsub:nodes:subject'/>
    <event node='urn:xmpp:mucsub:nodes:config'/>
  </subscribe>
</iq>
1

1 Answers

0
votes

No, this is not possible yet with current code.