Reputation: 2272
When I join in a room XMPP xmpp, usually the other user see my JID as [email protected]/myname
instead of myname@localhost
.
Pidgin is able to recover also my real JID when I talk with some of my friends (myname@localhost
).
How is it possible? What kind of request should I make to the server? This is important for me, because when I start talking with someone, I don't want to open two tabs, only because my client believes that my friend that I can see both in my roster and in the group roster, isn't the same guy.
Upvotes: 1
Views: 1787
Reputation: 10414
See XEP-0045, section 7.2.4. In a non-anonymous room, the server will send all participants' jids in their presence stanzas:
<presence
from='[email protected]/thirdwitch'
id='17232D15-134F-43C8-9A29-61C20A64B236'
to='[email protected]/desktop'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none'
jid='[email protected]/pda'
role='participant'/>
</x>
</presence>
Upvotes: 2