Swift 4.0中未收到XMPP Presence

时间:2019-07-06 12:04:27

标签: xmpp swift4 xmppframework swift4.2 multicastdelegate

我已经创建了一个房间。创建会议室后,我邀请我的联系人加入会议室。我的联系人收到了邀请到房间的邀请。收到邀请后,我的联系人正尝试通过发送节来在会议室中发送状态:

<presence from="nickname@xxx.xxx.xxx" to="roomnickname@conference.xxx.xxx.xxx/nickname@xxx.xxx.xxx"><x xmlns="http://jabber.org/protocol/muc#user"></x><x xmlns="vcard-temp:x:update"><photo></photo></x></presence>
  

func xmppStream(_发送者:XMPPStream,didSend存在:XMPPPresence)

发送上述节时调用

,但

  

func xmppStream(_发件人:XMPPStream,did接收状态:XMPPPresence)

不被调用。我做了很多谷歌,也没有在Stack中找到合适的答案。您的帮助将不胜感激。

0 个答案:

没有答案