After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 615541 - Jabber account 'resource' not properly setup when Empathy starts
Jabber account 'resource' not properly setup when Empathy starts
Status: RESOLVED NOTABUG
Product: empathy
Classification: Core
Component: Contact List
2.30.x
Other Linux
: Normal enhancement
: ---
Assigned To: empathy-maint
Depends on:
Blocks:
 
 
Reported: 2010-04-12 16:04 UTC by Omer Akram
Modified: 2010-04-13 15:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Omer Akram 2010-04-12 16:04:00 UTC
My Jabber account info has my *nickname* in the "resource" field. AFAIK, the resource in XMPP allows the same person to be for example logged in twice in two different places with same username, but different resource name.

The issue here is that initially, the value in the "resource" field is not applied when I login the Jabber account. I can see it because I auto-login to several rooms, and my identifier in those rooms is something like "room@server.com/Full Name" instead of "room@server.com/nickname".

If I want to have my nickname as identifier, I need to go to the account info, go to the resource field, modify it (even if it was ok previously), and then disable and enable the account. After that, my identifier in the rooms will be "room@server.com/nickname" as expected.

originally reported at: https://bugs.launchpad.net/ubuntu/+source/empathy/+bug/557893
Comment 1 Guillaume Desmottes 2010-04-13 07:38:19 UTC
When joining a room we are using your alias as nick, not the resource. That's the expected behaviour because for most users the resource is random. It's not mean to contain a nickname, really.
Comment 2 Aleksander Morgado 2010-04-13 08:26:07 UTC
Then, why if I change the resource in the account config and "apply" it, the room is re-joined with the resource as nick?
Comment 3 Guillaume Desmottes 2010-04-13 12:48:06 UTC
Maybe that's a race with gabble not getting the alias yet and using the resource as fallback or something. Anyway, you shouldn't use the resource for that purpose.
Comment 4 Aleksander Morgado 2010-04-13 13:19:12 UTC
Is there then any way of setting up the nickname only for a given favorite room? Or should I fill an enhancement request?
Comment 5 Guillaume Desmottes 2010-04-13 15:14:22 UTC
No, feel free to open another bug.
Comment 6 Aleksander Morgado 2010-04-13 15:24:46 UTC
Done. Cheers,

https://bugzilla.gnome.org/show_bug.cgi?id=615665