Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 12162

Message archiving - Monitoring plugin - conversation count is 0 always

$
0
0

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:

  1. <iq type='get' id='4:list' xmlns='jabber:client'>
  2.   <list xmlns='urn:xmpp:archive' with='user@server'>
  3.     <set xmlns='http://jabber.org/protocol/rsm'>
  4.       <max>10</max>
  5.     </set>
  6.   </list>
  7. </iq>
  8. The reply that I am getting from the server is:
  9. <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'>
          <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.


Viewing all articles
Browse latest Browse all 12162

Trending Articles