aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-avatar-chooser.c6
-rw-r--r--libempathy/empathy-client-factory.c3
2 files changed, 4 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-avatar-chooser.c b/libempathy-gtk/empathy-avatar-chooser.c
index 2d1c59943..8e64e1fe2 100644
--- a/libempathy-gtk/empathy-avatar-chooser.c
+++ b/libempathy-gtk/empathy-avatar-chooser.c
@@ -143,11 +143,7 @@ avatar_chooser_set_connection (EmpathyAvatarChooser *self,
tp_clear_object (&self->priv->connection);
if (connection != NULL)
- {
- GQuark features[] = { TP_CONNECTION_FEATURE_AVATAR_REQUIREMENTS, 0 };
- self->priv->connection = g_object_ref (connection);
- tp_proxy_prepare_async (self->priv->connection, features, NULL, NULL);
- }
+ self->priv->connection = g_object_ref (connection);
}
static void
diff --git a/libempathy/empathy-client-factory.c b/libempathy/empathy-client-factory.c
index 37ad18ff5..56e16629f 100644
--- a/libempathy/empathy-client-factory.c
+++ b/libempathy/empathy-client-factory.c
@@ -140,6 +140,9 @@ empathy_client_factory_dup_connection_features (TpSimpleClientFactory *factory,
feature = TP_CONNECTION_FEATURE_CAPABILITIES;
g_array_append_val (features, feature);
+ feature = TP_CONNECTION_FEATURE_AVATAR_REQUIREMENTS;
+ g_array_append_val (features, feature);
+
return features;
}