aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-02-10 21:53:40 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-02-15 17:48:23 +0800
commitfac52e2c170e94ecad67f3087a462baf9ba5f49e (patch)
tree046c1874f22573cb86e6e0f78dae7f06a1246049 /libempathy-gtk/empathy-chat.c
parent54bd693510f9aa2c1791d8ccf51f2b0371c66a3a (diff)
downloadgsoc2013-empathy-fac52e2c170e94ecad67f3087a462baf9ba5f49e.tar
gsoc2013-empathy-fac52e2c170e94ecad67f3087a462baf9ba5f49e.tar.gz
gsoc2013-empathy-fac52e2c170e94ecad67f3087a462baf9ba5f49e.tar.bz2
gsoc2013-empathy-fac52e2c170e94ecad67f3087a462baf9ba5f49e.tar.lz
gsoc2013-empathy-fac52e2c170e94ecad67f3087a462baf9ba5f49e.tar.xz
gsoc2013-empathy-fac52e2c170e94ecad67f3087a462baf9ba5f49e.tar.zst
gsoc2013-empathy-fac52e2c170e94ecad67f3087a462baf9ba5f49e.zip
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. https://bugzilla.gnome.org/show_bug.cgi?id=669676
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r--libempathy-gtk/empathy-chat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 5b2cca929..c5b4adf3f 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -4169,7 +4169,8 @@ empathy_chat_get_contact_menu (EmpathyChat *chat)
if (contact == NULL)
return NULL;
- individual = empathy_create_individual_from_tp_contact (contact);
+ individual = empathy_ensure_individual_from_tp_contact (contact);
+
if (individual == NULL)
return NULL;