How To get Old Messages (Chat History) from XMPP

2019-03-11 02:07发布

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.

标签: xmpp openfire
2条回答
可以哭但决不认输i
2楼-- · 2019-03-11 02:43

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.

查看更多
太酷不给撩
3楼-- · 2019-03-11 02:47
  1. You need to enable archiving on the server.
  2. Follow http://xmpp.org/extensions/xep-0136.html to get the messages.
查看更多
登录 后发表回答