Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How to get "actual" resource from JID
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sonny Piers  
View profile  
 More options Apr 27 2010, 5:41 am
From: Sonny Piers <sonny.pi...@gmail.com>
Date: Tue, 27 Apr 2010 11:41:45 +0200
Local: Tues, Apr 27 2010 5:41 am
Subject: Re: [sameplace] How to get "actual" resource from JID
I've never noticed that x4m append chars to the resource.

Maybe x4m do it because you are already connected with the resource "luke" ?

On 04/27/2010 05:15 AM, sylver wrote:

> Hi,

> For login, I've set my account object like so:

> account = XMPP.accounts;
> account.jid = "s...@wars.com/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:

> "s...@wars.com/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

--
Sonny Piers
Jabber: so...@papaya.im
GSM: +32 494 58 78 96

--
Documentation: http://github.com/bard/sameplace/wikis/home
Discussions: http://groups.google.com/group/sameplace
Bug tracker: https://bugs.launchpad.net/sameplace


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.