From 86a3d7231f766c1c157ce84bf2444c396610a4fb Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 19 Apr 2010 17:12:50 +0200 Subject: dispatcher: don't check for Requests when fetching conn properties --- libempathy/empathy-dispatcher.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c index 08bfad7ae..027a9601f 100644 --- a/libempathy/empathy-dispatcher.c +++ b/libempathy/empathy-dispatcher.c @@ -819,14 +819,9 @@ connection_ready_cb (TpConnection *connection, goto out; } - if (tp_proxy_has_interface_by_id (TP_PROXY (connection), - TP_IFACE_QUARK_CONNECTION_INTERFACE_REQUESTS)) - { - tp_cli_dbus_properties_call_get_all (connection, -1, - TP_IFACE_CONNECTION_INTERFACE_REQUESTS, - dispatcher_connection_got_all, - NULL, NULL, G_OBJECT (self)); - } + tp_cli_dbus_properties_call_get_all (connection, -1, + TP_IFACE_CONNECTION_INTERFACE_REQUESTS, dispatcher_connection_got_all, + NULL, NULL, G_OBJECT (self)); /* Advertise VoIP capabilities */ capabilities = g_ptr_array_sized_new (1); -- cgit v1.2.3