Search code examples
iosxmppopenfire

Openfire: Save messages on server when user is offline?


I'm writing an xmpp ios chat app which connects with an openfire server.

The app needs to be able to download all the messages that were missed by the user while the app was closed. So I will need a way to save the missed messages sent on the server, does anyone know a good way to do this? Is there a plugin for something like this, or would this require a custom plugin or something else?


Solution

  • Openfire, like most other XMPP servers, already stores the messages sent by users, when the receiving bare JID was offline, so that it can send those message to the client when it (re-)connects.

    See also: