I am trying to implement a chat application using XMPPFramework in iOS, using OpenFire server. My chat is working fine, I am trying to retrieve chat history from server. Ofcours
change urn:xmpp:archive
to urn:xmpp:archive:auto
I had the same issue and determined this by running a discovery request: http://xmpp.org/extensions/xep-0136.html#disco
I sent this IQ:
My Openfire server with the Monitoring plugin enabled returned this result:
You can see that Automatic Archiving (urn:xmpp:archive:auto
) and Archive Management (urn:xmpp:archive:manage
) are supported, but Manual Archiving (urn:xmpp:archive:manual
) and Archiving Preferences (urn:xmpp:archive:pref
) are not.
XEP-0313 is also supported (listed as urn:xmpp:mam:0
) and can retrieve archived messages: http://xmpp.org/extensions/xep-0313.html