XMPP – how do I retrieve chat history using the Java smack library from the openfire server?

After installing the open archive plug-in in the openfire server, I can see that the chat conversation between two users from the openfire management panel is very simple and network-based Now I want to retrieve those conversations or chats from my chat client application (written in Java) using the smack library I didn't find any useful resources Any suggestion will help

Solution

Smack has just implemented the mam function [xep 0313], but it has not been released yet. I hope to get it in the next version. If you want to use this function to build smack library from source, or you can use custom IQ to get archive messages from the server

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>