Bug 27361

Summary: Gabble should prefer new aliases from vCards/PEP over roster aliases which are just the contact's JID
Product: Telepathy Reporter: Will Thompson <will>
Component: gabbleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium Keywords: patch
Version: git master   
Hardware: Other   
OS: All   
URL: http://cgit.collabora.com/git/user/wjt/telepathy-gabble-wjt.git/log/?h=aliases
Whiteboard:
i915 platform: i915 features:

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.