GNOME Bugzilla – Bug 669676
Opening gnome-contacts from Chat dialog doesn't work for metacontacts
Last modified: 2012-02-15 09:52:38 UTC
Opening gnome-contacts on a contact works fine from the contact list context menu, but doesn't work from the chat dialog menu item. gnome-contacts gets called with an id that doesn't appear to exist (looking at folks-inspect individuals). This only happens on metacontacts.
Fixing this properly (in a more optimissed way) needs bug #658576 which is not going to happen soon so I'll go with a less good one for now (preparing the full folks aggregator in empathy-chat).
Created attachment 207249 [details] [review] add empathy_individual_manager_lookup_by_contact()
Created attachment 207250 [details] [review] add empathy_ensure_individual_from_tp_contact()
Created attachment 207251 [details] [review] empathy-chat: use empathy_ensure_individual_from_tp_contact() This ensures we'll pass the right individual ID to gnome-contacts when opening a meta-contact.
Created attachment 207252 [details] [review] empathy-chat: keep the individual manager alive as a cache
Created attachment 207612 [details] [review] add empathy_individual_manager_lookup_by_contact()
Attachment 207250 [details] pushed as 54bd693 - add empathy_ensure_individual_from_tp_contact() Attachment 207251 [details] pushed as fac52e2 - empathy-chat: use empathy_ensure_individual_from_tp_contact() Attachment 207252 [details] pushed as 84e286a - empathy-chat: keep the individual manager alive as a cache Attachment 207612 [details] pushed as 894ce49 - add empathy_individual_manager_lookup_by_contact()