diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2009-09-15 21:49:11 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2009-09-16 22:21:11 +0800 |
commit | c07fe5f696c21445fe1fcf56e841b03549cb8674 (patch) | |
tree | 6b009b98ab55af2603addd71cae04f16f12357c3 | |
parent | 6b9572e4fb5d3c96c81b2588a26388cd955c772c (diff) | |
download | gsoc2013-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.
-rw-r--r-- | libempathy/empathy-dispatcher.c | 6 |
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); } |