27 Apr 2010 05:15
How to get "actual" resource from JID
Hi, For login, I've set my account object like so: account = XMPP.accounts; account.jid = "star@.../luke"; account.password = "lucas"; But during chat session, and by looking at XMPP console, I notice that X4M append 8 more chars to my resource, making it looking like so: "star@.../lukeAC5D5EFA" My question is, is there a function in X4M that returns "lukeAC5D5EFA" ? If not, then my next move will be to listen to an incoming message, grab the "to" value, and then grab the resource. But that sounds quite a lot to do :D Any suggestion would be greatly appreciated. Thanks :D -- -- Documentation: http://github.com/bard/sameplace/wikis/home Discussions: http://groups.google.com/group/sameplace Bug tracker: https://bugs.launchpad.net/sameplace(Continue reading)
RSS Feed