aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-09-15 21:49:11 +0800
committerCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-09-16 19:20:28 +0800
commite1d2138e205e9e86a6046a00db184c5d25805b62 (patch)
tree7f8f218bd9f31ab3f9e4e0edb6e77c7b9463a7c6 /libempathy
parent3c3d82a778c7f085bb0f9250c8ea109019a7a5e1 (diff)
downloadgsoc2013-empathy-e1d2138e205e9e86a6046a00db184c5d25805b62.tar
gsoc2013-empathy-e1d2138e205e9e86a6046a00db184c5d25805b62.tar.gz
gsoc2013-empathy-e1d2138e205e9e86a6046a00db184c5d25805b62.tar.bz2
gsoc2013-empathy-e1d2138e205e9e86a6046a00db184c5d25805b62.tar.lz
gsoc2013-empathy-e1d2138e205e9e86a6046a00db184c5d25805b62.tar.xz
gsoc2013-empathy-e1d2138e205e9e86a6046a00db184c5d25805b62.tar.zst
gsoc2013-empathy-e1d2138e205e9e86a6046a00db184c5d25805b62.zip
Only handle manually text channels.
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-dispatcher.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index 0cd490b86..26d032fab 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -809,6 +809,12 @@ dispatcher_connection_got_all (TpProxy *proxy,
object_path = g_value_get_boxed (g_value_array_get_nth (values, 0));
properties = g_value_get_boxed (g_value_array_get_nth (values, 1));
+
+ if (tp_strdiff (tp_asv_get_string (properties,
+ TP_IFACE_CHANNEL ".ChannelType"),
+ TP_IFACE_CHANNEL_TYPE_TEXT))
+ continue;
+
dispatcher_connection_new_channel_with_properties (dispatcher,
TP_CONNECTION (proxy), object_path, properties);
}