質問

I use muc of asmack to create a room for group chat,but when I am offline,I will leave the room and others can't see me in the room.So the next time I have to join the room again. How to solve this problem?Give me some suggestions please.

役に立ちましたか?

解決

Hi there could you be more specific on what you trying to achieve? It is normal when you offline you are leaving the room. For my case, I use openfire as my xmpp server when i joined a room i save the room data in database then once when i am online back i join back to the room and add message listener based on the info in database. Openfire will send you back the chat history once you join the room. This is feature can be change at Openfire console. Hope this help you =)

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top