Bug 27361 - Gabble should prefer new aliases from vCards/PEP over roster aliases which are just the contact's JID
Summary: Gabble should prefer new aliases from vCards/PEP over roster aliases which ar...
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL: http://cgit.collabora.com/git/user/wj...
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2010-03-29 02:51 UTC by Will Thompson
Modified: 2011-06-21 06:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Will Thompson 2010-03-29 02:51:24 UTC
When you first add someone to your roster, Gabble tries to get their alias via PEP, and then from their vCard, but ultimately gives up and sets their JID as their alias on the roster so that it doesn't keep fetching their vCard every time they connect.

This is all right and proper, but it subsequently trusts the roster alias absolutely, even if it happens to receive a better alias from one of the other methods. I think it should trust roster aliases equal to the contact's JID below all other sources, but above no source.
Comment 1 Will Thompson 2011-06-21 06:29:06 UTC
Please enjoy this refreshing merge: http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=cdff268c3965046baa37aac100cceda3e9aafe37

It will be in 0.13.2 and 0.12.3.


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.