powered by Jive Software

How do I get archive of one on one conversation?

Hi, i’m new with openfire, I have the monitoring plugin v1.5.7 and OpenFire v4.1.5 when retreiving the archive of a convesation i use:

      <set xmlns="http://jabber.org/protocol/rsm"></set>

And it gets the hisrtory of conversations between the two persons.

Problem is, i get all conversations involving those users (like chats on MUC) and i only want the history of one on one convesations. How do i get only those?

You can use the XEP-0313 IQ - XEP-0313: Message Archive Management

urn:xmpp:mam:2 juliet@capulet.lit

Hello, thanks for your reply, unfortunately it didn’t work for me, i got a error code “503” from server (service unavailable)

What I ended up doing was sending this stanza

      <set xmlns="http://jabber.org/protocol/rsm"/>

And then filtering out the conference ones in code


Can you please share your code to retrieve the message archive, for me it always shows count as 0. I have checked the table Ofmessagearchive, and it has data.

Thank you