How does XMPP get the information of friends I'm chatting with using Spark

When I use Spack to open the chat window and user1, I want to get the username of user1 through the code.

I just started to contact spack+smack. I hope someone can help me.

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.