Android – smack API – read chat records from openfire server

How to use the smack library to extract chat records or chat records from openfire server into Android applications?

resolvent:

As far as I know, chat records are not stored in openfire. You can only get offline messages sent by users (for example, when they connect next time), but if you want to store messages, you can implement it directly on the XMPP server (I personally use mongodb to implement it - it's great!)

But maybe I missed something in openfire

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
分享
二维码
< <上一篇
下一篇>>