XMPP Groupchat书签实现 [英] XMPP Groupchat Bookmark implementation

查看:97
本文介绍了XMPP Groupchat书签实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在XMPP中阅读到XMPP房间的情况,一旦用户为房间添加了书签,他将在重新登录后自动重新加入房间.但是在我的情况下,书签被存储在服务器中,就像我向后查询时一样,我无法检索它.但是重新加入并没有发生.

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?

推荐答案

但是在我的情况下,书签被存储在服务器中,就像我对其进行查询时一样 返回我能够检索它.但是重新加入并没有发生.

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?

我不确定您所说的管理员信息"是什么,但是如XEP-0045中所述:

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.

这篇关于XMPP Groupchat书签实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆