问题
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