【发布时间】:2016-10-25 21:59:58
【问题描述】:
为什么尝试在 xmpp muc 中创建的组中发送消息时出现此错误。
这是我收到的消息包
<message xmlns="jabber:client" from="testgrp@conference.localhost" to="7023651847@localhost/787052459360862999820058" type="error"><body>hiiii</body><error code="406" type="modify"><not-acceptable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></not-acceptable><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Only occupants are allowed to send messages to the conference</text></error></message>
错误文本:只允许占用者向会议发送消息
我用来创建组的方法是:XMPPFramework - How to create a MUC room and invite users?
【问题讨论】: