我在用Openfire 3.8.2
并安装了监控插件并启用了一对一聊天的存档。
现在我可以在服务器端查看存档聊天,但是当我通过一个节时,我得到feature not implemented
Request
<iq type='get' id='334'>
<list xmlns='urn:xmpp:archive'
with='[email protected]'>
<set xmlns='http://jabber.org/protocol/rsm'>
<max>30</max>
</set>
</list>
</iq>
Response
<iq type="error" id="334" to="[email protected]/458">
<error type="cancel" code="501">
<feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
</error>
</iq>
谁能告诉我我在这里缺少什么?我已经探索了 stackoverflow 上的所有线程,但没有找到任何解决方案。
我已经在 openfire 系统属性中设置了以下属性,但仍然没有得到相同的错误
conversation.idleTime 10
conversation.maxAge 0
conversation.maxRetrievable 100
conversation.maxTime 60
conversation.messageArchiving true
conversation.metadataArchiving true
conversation.roomArchiving true
这只是发送节时的一个小错误,我错过了namespace
属性在max
标签 ,以下是正确的节
<iq type='get' id='334'>
<list xmlns='urn:xmpp:archive'
with='[email protected]'>
<set xmlns='http://jabber.org/protocol/rsm'>
<max xmlns='http://jabber.org/protocol/rsm'>30</max>
</set>
</list>
</iq>
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)