I am using Openfire 3.9.3 and Monitoring plugin 1.4.2 (I read that XEP 0136 which was earlier in Openarchive is also integrated in this). I am using the Strophe.archive.js javascript functions to query and retrieve the messages. I have enabled archiving feature and turned on the one-to-one chat archiving in the Openfire admin portal.
The xml sent is:
-
<set xmlns='[http://jabber.org/protocol/rsm](http://jabber.org/protocol/rsm)'>
-
<max>10</max>
-
</set>
- The reply that I am getting from the server is:
-
<iq xmlns='jabber:client' type='result' id='4:list' to='user@server/resource'> <list xmlns='urn:xmpp:archive'> <set xmlns='[http://jabber.org/protocol/rsm](http://jabber.org/protocol/rsm)'> <count>0</count> </set> </list> </iq>
I am able to view the conversations on the admin portal but the query always returns the count as 0. I tried without the max value of 10 too and that didn’t change the result. Please help me fix this issue.