xmpp - how i get notification when my friend logged in, he is in my roster list - delphi

瘦欲@ 提交于 2019-12-11 10:35:32

问题


after one day of searching and reading rfc's i haven't found any tip in this subject.

i wrote delphi component to access openFire server and all steps until now is good, but i face one problem is:

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.

the "B" account is added in my roster list .

Thanks in advance


回答1:


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.



来源:https://stackoverflow.com/questions/13153289/xmpp-how-i-get-notification-when-my-friend-logged-in-he-is-in-my-roster-list

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