xmpp-当我的朋友登录时,我如何获得通知,他在我的名单中-Delphi [英] xmpp - how i get notification when my friend logged in, he is in my roster list - delphi
问题描述
经过一天的搜索和阅读,我没有找到关于该主题的任何提示。
after one day of searching and reading rfc's i haven't found any tip in this subject.
我编写了delphi组件来访问openFire服务器和所有步骤,直到现在很好,但是我面临的一个问题是:
i wrote delphi component to access openFire server and all steps until now is good, but i face one problem is:
我的名单中有很多朋友,例如我的帐户为 A @ localhost 登录帐户 B @ localhost 时,我没有收到任何通知。
i have many friends in my roster list ,as example my Account Is "A@localhost" when account "B@localhost" logged in I haven't get any notification according to this.
B帐户已添加到我的名单中。
the "B" account is added in my roster list .
预先感谢
推荐答案
XMPP的存在是双方的共识;您的朋友必须接受您的在线状态订阅请求。尝试与他处其他地方联系并要求他这样做。
XMPP presence is a mutual agreement; your friend must accept your request for presence subscription. Try contacting him elsewhere and asking him to do so.
这篇关于xmpp-当我的朋友登录时,我如何获得通知,他在我的名单中-Delphi的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!