how to add new buddy in roster in xmpp

后端 未结 2 751
名媛妹妹
名媛妹妹 2020-12-15 11:31

Hi i am using smack.jar.I am able to connect with gtalk using it.Using Roster.getentries() i can get my buddy list.But how can i add new friends to my buddyList

2条回答
  •  既然无缘
    2020-12-15 12:05

    In XMPP, adding is adding to your roster + subscribing to the user. Updating is just adding the user to your roster. Keep in mind the minutiae.

提交回复
热议问题