Bug 56616 - Race in alias detection in XMPP MUCs
Summary: Race in alias detection in XMPP MUCs
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
Depends on:
Reported: 2012-10-31 14:28 UTC by Chandni Verma
Modified: 2019-12-03 19:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Chandni Verma 2012-10-31 14:28:18 UTC
if you auto-join chat rooms in Empathy you get your JID localpart as your alias.
if you leave and rejoin, it comes out right.
sometimes it works out fine if you autojoin with empathy as well!
if your alias is set in MC, the CM should surely have it from the start.
Comment 1 Simon McVittie 2013-06-14 16:26:16 UTC
(In reply to comment #0)
> if your alias is set in MC, the CM should surely have it from the start.

No, it doesn't. In current MC master, see mcd_account_connection_ready_cb() which explains some of the logic here.

See Bug #14540 (over 5 years old and still not finished...) for more information than you probably want about how names ought to work in an ideal world.

> 17:03 * glassrose seems to have lost the key to her encrypted backup copy of 
>         chat logs where smcv commented earlier

I have no idea what I said before: this is a guess.

One thing Gabble could do would be to delay any requests to join MUCs until it has downloaded our own vCard for the first time, which (IIRC) it always does during sign-in anyway. This might require making requests to join MUCs asynchronous.

The practical result would be that you'd always auto-join with the nickname that had been stored on the server - so if you changed your nickname while offline, then signed in and auto-joined some rooms, you'd join them with your old nickname. I'm having a hard time caring about that, tbh - we can do better after Names finally happens :-)

(Comments on, or implementations of, Names would be extremely welcome, but I don't think I have the time to dig out which branch is current, or exactly what needs fixing in it, right now.)
Comment 2 GitLab Migration User 2019-12-03 19:58:09 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-gabble/issues/247.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.