After installing Open Archive plugin in the Openfire server I can see the chat conversation between two user from the openfire admin panel which is pretty easy and that is web based too. Now I want to retrive those conversation or chat history from chat client application(written in java) where I've used Smack library. I didn't found any helpfull resource for that. Any advice will be helpfull.
相关问题
- Get Offline Messages From XMPP Without Becoming On
- GCM using smack library NoResponseException: No re
- How to implement “last seen at” functionality (lik
- smack api get all public rooms on openfire server
- ejabberd MUC message history
相关文章
- Xmpp chat invisible presence
- Jabber.net on Unity/Android error (No JNI_OnLoad f
- Sending inline images using Smack XMPP
-
How to join multiple rooms by just sending one
- How to get offline message of group chat from Open
- XMPP events on Android
- How to create an account from Smack 4.1
- XMPPFramework - Upload Profile or Avatar Image
Finally I got the answer. Archive Messaging features are currently not implemented in Smack library.
https://community.igniterealtime.org/message/249993#249993
It might be a late answer but now as SMACK API supports XEP-0136 and XEP-0313, so below code can help people landing to this page.
The solution you're looking for come under XMPP specification's XEP-0136 Message archiving but Smack has not implemented this features yet. but you can retrieve the message history from server using "custom-stanza" features provided by SMACK API. The following links describe how to send the custom stanza. "How retrieve Chat History using Java Smack library from openfire server?".
Smack just implemented MAM feature [XEP 0313] but yet not released, hope to get it on next release if you want to use this feature build the smack library from source or you can use custom IQ to get archived messages from server.