1

MUC ルームに参加する新しいメンバーごとに MUC/SUB サブスクリプションを自動的に追加することは可能ですか?

例えば

  1. 壷:xmpp:mucsub:ノード:メッセージ
  2. urn:xmpp:mucsub:nodes:affiliations
  3. urn:xmpp:mucsub:nodes:subject
  4. 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>
4

1 に答える 1

0

いいえ、これは現在のコードではまだ不可能です。

于 2016-09-05T11:14:48.033 に答える