检索存档消息时未实现此功能 [英] feature not implemented while retrieving archive message
问题描述
我正在使用Openfire 3.8.2
,并且已安装监视器插件并启用了一对一聊天的存档.
i am using Openfire 3.8.2
and have installed monitor plugin and enable the archiving for one to one chat.
现在我能够在服务器端查看存档聊天,但是当我通过节时,我会得到feature not implemented
now i am able to view the archive chat on the server side but when i pass a stanza i am getting feature not implemented
请求
<iq type='get' id='334'>
<list xmlns='urn:xmpp:archive'
with='user4@mydomain.com'>
<set xmlns='http://jabber.org/protocol/rsm'>
<max>30</max>
</set>
</list>
</iq>
回复
<iq type="error" id="334" to="user1@mydomain.com/458">
<error type="cancel" code="501">
<feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
</error>
</iq>
有人可以告诉我我在这里想念的吗?我已经研究了stackoverflow上的所有线程,但是在那里没有找到任何解决方案.
can anyone tell me what i am missing here ? i have explored all the threads on stackoverflow but didn't find any solution there.
我在openfire系统属性中设置了以下属性,但仍然没有收到相同的错误
i have set the following properties in openfire system properties but still not getting same error
conversation.idleTime 10
conversation.maxAge 0
conversation.maxRetrievable 100
conversation.maxTime 60
conversation.messageArchiving true
conversation.metadataArchiving true
conversation.roomArchiving true
推荐答案
发送节只是一个小错误,我错过了max
标签中的namespace
属性,以下是正确的节
it was just a small mistake in sending stanza , i missed the namespace
attribute in max
tag , following is the correct stanza
<iq type='get' id='334'>
<list xmlns='urn:xmpp:archive'
with='user4@mydomain.com'>
<set xmlns='http://jabber.org/protocol/rsm'>
<max xmlns='http://jabber.org/protocol/rsm'>30</max>
</set>
</list>
</iq>
这篇关于检索存档消息时未实现此功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!