MUC ルームに参加する新しいメンバーごとに MUC/SUB サブスクリプションを自動的に追加することは可能ですか?
例えば
- 壷:xmpp:mucsub:ノード:メッセージ
- urn:xmpp:mucsub:nodes:affiliations
- urn:xmpp:mucsub:nodes:subject
- urn:xmpp:mucsub:nodes:config
これは、次の iq の実行に似ています。
<iq type='set'
from='hag66@shakespeare.example'
to='coven@muc.shakespeare.example'
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>