user3111156
user3111156

Reputation: 228

How To get Old Messages (Chat History) from XMPP

I am new to XMPP.

and I need to get chat history from Openfire with XMPP.

I did Googling but didn't get satisfactory Answer.

Any link or idea will be great help.

Upvotes: 18

Views: 29009

Answers (2)

Karun
Karun

Reputation: 890

You need to install Monitoring service plugin to enable message archiving. You may have to upgrade your openfire service if this plugin is not appearing in your available plugins section in the admin console.

You will need to log into the admin console and go to: Server --> Archiving --> Archiving Settings to enable message archiving.

Hope this helps you. Feel free to comment in case of any queries/doubts.

Upvotes: 12

Mark S
Mark S

Reputation: 869

  1. You need to enable archiving on the server.
  2. Follow http://xmpp.org/extensions/xep-0136.html to get the messages.

Upvotes: 6

Related Questions