aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-02-25 23:18:10 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2010-02-25 23:40:42 +0800
commit0e74039b5cadb3e33aa01f5c2f3650b9d39f16ae (patch)
tree8b99df43c4039310ddf808cb1a0003dcae9d4c20 /libempathy
parent3e67f2f4f77ba1e59f69721f9821a482cba1678a (diff)
downloadgsoc2013-empathy-0e74039b5cadb3e33aa01f5c2f3650b9d39f16ae.tar
gsoc2013-empathy-0e74039b5cadb3e33aa01f5c2f3650b9d39f16ae.tar.gz
gsoc2013-empathy-0e74039b5cadb3e33aa01f5c2f3650b9d39f16ae.tar.bz2
gsoc2013-empathy-0e74039b5cadb3e33aa01f5c2f3650b9d39f16ae.tar.lz
gsoc2013-empathy-0e74039b5cadb3e33aa01f5c2f3650b9d39f16ae.tar.xz
gsoc2013-empathy-0e74039b5cadb3e33aa01f5c2f3650b9d39f16ae.tar.zst
gsoc2013-empathy-0e74039b5cadb3e33aa01f5c2f3650b9d39f16ae.zip
No reason to get Channels from connections, that's MCs job
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-dispatcher.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index 8577b6bb7..f589099d6 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -722,7 +722,6 @@ dispatcher_connection_got_all (TpProxy *proxy,
EmpathyDispatcher *self = EMPATHY_DISPATCHER (object);
EmpathyDispatcherPriv *priv = GET_PRIV (self);
GPtrArray *requestable_channels;
- GPtrArray *existing_channels;
if (error) {
DEBUG ("Error: %s", error->message);
@@ -767,32 +766,6 @@ dispatcher_connection_got_all (TpProxy *proxy,
g_hash_table_remove (priv->outstanding_classes_requests, proxy);
}
-
- existing_channels = tp_asv_get_boxed (properties,
- "Channels", TP_ARRAY_TYPE_CHANNEL_DETAILS_LIST);
-
- if (existing_channels != NULL)
- {
- guint idx;
-
- for (idx = 0; idx < existing_channels->len; idx++)
- {
- GValueArray *values = g_ptr_array_index (existing_channels, idx);
- const gchar *object_path;
- GHashTable *props;
-
- object_path = g_value_get_boxed (g_value_array_get_nth (values, 0));
- props = g_value_get_boxed (g_value_array_get_nth (values, 1));
-
- if (tp_strdiff (tp_asv_get_string (props,
- TP_IFACE_CHANNEL ".ChannelType"),
- TP_IFACE_CHANNEL_TYPE_TEXT))
- continue;
-
- dispatcher_connection_new_channel_with_properties (self,
- TP_CONNECTION (proxy), object_path, properties, NULL);
- }
- }
}
static void