Smack API User search

后端 未结 3 1054
天命终不由人
天命终不由人 2020-12-11 08:31

I\'m try to implement a user search on top of my working Smack-API based jabber client.It can create user using:

AccountManager manager = conn.getAccountMana         


        
3条回答
  •  孤街浪徒
    2020-12-11 09:05

    Apparently what's needed is just to catch the error code 409 in the XMPPException, as createAccount throws exception if user exist.

提交回复
热议问题