]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-tp-contact-list.c
Add a group channel only if suppress_handler == FALSE
[empathy.git] / libempathy / empathy-tp-contact-list.c
index 7988a3ea1098b562c28bce3607992916f88bf1dd..051c342c99431f71bbcf1469f85c9afdd4c215a8 100644 (file)
@@ -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