[empathy] Only handle manually text channels.
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] Only handle manually text channels.
- Date: Wed, 16 Sep 2009 11:21:35 +0000 (UTC)
commit e1d2138e205e9e86a6046a00db184c5d25805b62
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Sep 15 15:49:11 2009 +0200
Only handle manually text channels.
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 0cd490b..26d032f 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]