XMPP Groupchat Bookmark implementation

冷暖自知 提交于 2019-12-13 05:19:32

问题


I have read in XMPP that in case of XMPP rooms, once a user bookmarks the room , he will automatically rejoin the room on re login. But in my case bookmark is getting stored in server as when I query it back Im able to retrieve it. But rejoining is not happening.

Also for retrieving participants list in a members only private group, members are not able to retrieve admin informations. Is it possible to retrive admin info?


回答1:


But in my case bookmark is getting stored in server as when I query it back Im able to retrieve it. But rejoining is not happening.

This is a client side feature. Your client need to support Room bookmark. It need to automatically download the list for bookmark and send join presence packet to each room.

Also for retrieving participants list in a members only private group, members are not able to retrieve admin informations. Is it possible to retrive admin info?

I am not sure what you call "Admin information" but as described in XEP-0045:

Member: A user who is on the "whitelist" for a members-only room or who is registered with an open room. A member has an affiliation of "member".

Being a member does not grant you any admin privileges.



来源:https://stackoverflow.com/questions/33366454/xmpp-groupchat-bookmark-implementation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!