From: Xavier Claessens Date: Tue, 17 Feb 2009 15:12:12 +0000 (+0100) Subject: Add a group channel only if suppress_handler == FALSE X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=515f2cfda9a798386b50d39e72ce02e248577c98 Add a group channel only if suppress_handler == FALSE --- diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c index 7988a3ea..051c342c 100644 --- a/libempathy/empathy-tp-contact-list.c +++ b/libempathy/empathy-tp-contact-list.c @@ -614,9 +614,11 @@ tp_contact_list_new_channel_cb (TpConnection *proxy, gpointer user_data, GObject *list) { - tp_contact_list_group_add_channel (EMPATHY_TP_CONTACT_LIST (list), - object_path, channel_type, - handle_type, handle); + if (!suppress_handler) { + tp_contact_list_group_add_channel (EMPATHY_TP_CONTACT_LIST (list), + object_path, channel_type, + handle_type, handle); + } } static void