angular-xmpp
angular-xmpp copied to clipboard
address class
xmpp and buddycloud addressing is similar.
Formats
{user:"frank",domain:"supercool.com"}
[email protected]
/user/[email protected]/posts
resource
xmpp addresses also can have resources, then it looks like
[email protected]/psi
needed
var addr=convert(whatever);
console.log(addr.node);
console.log(addr.jid);