Bug 25272

Summary: missing feature: friendly names
Product: Telepathy Reporter: Fibonacci <fibonacci.prower>
Component: butterflyAssignee: Jonny Lamb <jonny.lamb>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: enhancement    
Priority: medium Keywords: patch
Version: unspecified   
Hardware: Other   
OS: All   
URL: http://git.collabora.co.uk/?p=user/jonny/telepathy-butterfly.git;a=shortlog;h=refs/heads/25272
Whiteboard: review+
i915 platform: i915 features:

Description Fibonacci 2009-11-24 20:40:38 UTC
When chatting with an MSN group (e.g. those on http://groups.im/) on Empathy, I can't see the name of the members who write each message - I only see the name of the group.
WLM (of course), aMSN, emesene, and Mercury all display the right names on MSN groups. I don't know what the right name for this feature is, but emesene calls it "friendly names", so I'm sticking with that.

This has also been reported on Launchpad: https://bugs.launchpad.net/ubuntu/+source/telepathy-butterfly/+bug/485017
Comment 1 Olivier Le Thanh Duong 2009-12-07 13:22:18 UTC
There is more information on the Empathy's bug : 
https://bugzilla.gnome.org/show_bug.cgi?id=603172
Comment 2 Jonny Lamb 2010-04-09 10:44:16 UTC
To quote the illustrious Youness Alaoui from the empathy bug:

> The problem is that it's not the nickname that's being used in aMSN, it's the
> 'Friendly name'.. MSN has the ability to specify a "friendly name" *per
> message*.. this allows people to have huge ascii-art nicknames that do not
> bloat the chat windows when chatting. That's also what groups.im uses, I can
> confirm.
> This "Friendly name" is sent as a header in the message, the header is called
> "P4-Context". papyon supports it and sets it as the message.display_name on the
> event on_conversation_message_received.
> Telepathy-butterfly does not support it though.
Comment 3 Jonny Lamb 2010-04-09 10:56:45 UTC
There's currently no way to expose a new alias per message in the spec. I opened bug #27568 about this.
Comment 4 Jonny Lamb 2010-04-16 15:44:49 UTC
We don't actually have to wait for the spec change to go through and get released because that's just a list of "well-known keys".

Check out my patch.
Comment 5 Simon McVittie 2010-05-11 06:42:11 UTC
Looks good to me.
Comment 6 Olivier Le Thanh Duong 2010-05-21 06:59:11 UTC
Merged, this fix is available in butterfly 0.5.10
Note it won't work in empathy as of now since it rely on the Messages interface which is not yet implemented

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.