[jdev] Retrieving the name of message sending and message receiving user

Abhishek Ranjan abhishek at blacklightsw.com
Thu May 18 09:44:17 UTC 2017


I am new to xmpp and I wanted to extract the names of the user who is sending the message and the name of the user to whom he is sending the message from the message stanza.

I have been using 


which gives me the complete jid tuple(I am using erlang programming language).

Can anyone tell me how can I get just the names of the people who are sending and receiving messages from the message stanza alone.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20170518/cb9498b9/attachment.html>

More information about the JDev mailing list