I am working on the chat module of the project. I need to integrate the Group chat functionality. I did n't find in the API to get the joined rooms history programmatically using the aSmack API.

Suppose I join the room then I save in the mobile database, once user uninstall the application then it destroy this database from the mobile then next time when same user install the application then user is not able to get the Joined rooms from the aSmack API

Please help me is there any way to get the Joined rooms history.

Thanks in advance.

有帮助吗?

解决方案 2

save your users group detail on server and create a webservice to get grouplist of user. i do same thing for this, from this way you can able to get grouplist from another device.

and if you wants group chat history then this question is helpful for you.

其他提示

XMPP has no such concept as "Joined MUC History".

But there are Bookmarks defined in XEP-0048, that are commonly used to store "often visited MUCs". You may want to have a look at this.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top