aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-09-15 21:49:11 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-09-16 22:21:11 +0800
commitc07fe5f696c21445fe1fcf56e841b03549cb8674 (patch)
tree6b009b98ab55af2603addd71cae04f16f12357c3 /libempathy
parent6b9572e4fb5d3c96c81b2588a26388cd955c772c (diff)
downloadgsoc2013-empathy-c07fe5f696c21445fe1fcf56e841b03549cb8674.tar
gsoc2013-empathy-c07fe5f696c21445fe1fcf56e841b03549cb8674.tar.gz
gsoc2013-empathy-c07fe5f696c21445fe1fcf56e841b03549cb8674.tar.bz2
gsoc2013-empathy-c07fe5f696c21445fe1fcf56e841b03549cb8674.tar.lz
gsoc2013-empathy-c07fe5f696c21445fe1fcf56e841b03549cb8674.tar.xz
gsoc2013-empathy-c07fe5f696c21445fe1fcf56e841b03549cb8674.tar.zst
gsoc2013-empathy-c07fe5f696c21445fe1fcf56e841b03549cb8674.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);
}