Where is getUserFromJid ? - from page 57 Professional-XMPP....

54 views
Skip to first unread message

Alexandr S

unread,
May 19, 2013, 1:32:04 PM5/19/13
to str...@googlegroups.com

I want to use Strophe.getUserFromJid from its reference the book "Professional-XMPP" but it's not defined.
Is obsolete this books, its examples ? 
Where is good information about a use Strophe.js ?

James Booth

unread,
May 19, 2013, 1:38:04 PM5/19/13
to str...@googlegroups.com
I found this reference to be up to date:


It might be getNodeFromJid for the username, or getBareJidFromJid for the bareJid (user...@server.com) you are looking for.



--
You received this message because you are subscribed to the Google Groups "Strophe" group.
To unsubscribe from this group and stop receiving emails from it, send an email to strophe+u...@googlegroups.com.
To post to this group, send email to str...@googlegroups.com.
Visit this group at http://groups.google.com/group/strophe?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Jack Moffitt

unread,
May 20, 2013, 10:35:04 AM5/20/13
to strophe
I'm pretty sure you're looking for getNodeFromJid
(http://strophe.im/strophejs/doc/1.0.2/files2/strophe-js.html#Strophe.getNodeFromJid).
I was not aware I had used the old name in the book. Can you tell me
where you found it so I can update the errata?

jack.
Reply all
Reply to author
Forward
0 new messages