aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-02-17 23:12:12 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-04-22 18:21:11 +0800
commit515f2cfda9a798386b50d39e72ce02e248577c98 (patch)
tree80bd7f19c2bcee0f72de5087c377301b975831b4 /libempathy
parentb19d8cde60b98f0f86a49a8eed0885222e808f2f (diff)
downloadgsoc2013-empathy-515f2cfda9a798386b50d39e72ce02e248577c98.tar
gsoc2013-empathy-515f2cfda9a798386b50d39e72ce02e248577c98.tar.gz
gsoc2013-empathy-515f2cfda9a798386b50d39e72ce02e248577c98.tar.bz2
gsoc2013-empathy-515f2cfda9a798386b50d39e72ce02e248577c98.tar.lz
gsoc2013-empathy-515f2cfda9a798386b50d39e72ce02e248577c98.tar.xz
gsoc2013-empathy-515f2cfda9a798386b50d39e72ce02e248577c98.tar.zst
gsoc2013-empathy-515f2cfda9a798386b50d39e72ce02e248577c98.zip
Add a group channel only if suppress_handler == FALSE
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-contact-list.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c
index 7988a3ea1..051c342c9 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