【问题标题】:why I receive mssage sent by my self, but cannot receive msg from otherst. XMPPFramework iOS为什么我收到自己发来的消息,却收不到别人发来的消息。 XMPPFramework iOS
【发布时间】:2017-01-13 09:25:20
【问题描述】:

我正在研究 iOS 的 XMPPFramework。当我登录 user1 end send presence 时, user1 licent 收到 precese。当我向 JID:user2 发送 mssage 时,user1 客户端触发了 didRecieve 函数,并且消息从 user2 发送到 user1。为什么 from 和 to 颠倒了?

【问题讨论】:

    标签: ios xmppframework


    【解决方案1】:

    确保您已正确发送出席信息并对 [xmppStream isAuthenticated] 的 NSLog 进行编码,并确保其值为“1”,然后它将起作用。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-12-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多