aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy/empathy-client-factory.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/libempathy/empathy-client-factory.c b/libempathy/empathy-client-factory.c
index 5055a2628..37ad18ff5 100644
--- a/libempathy/empathy-client-factory.c
+++ b/libempathy/empathy-client-factory.c
@@ -114,6 +114,21 @@ empathy_client_factory_dup_channel_features (TpSimpleClientFactory *factory,
}
static GArray *
+empathy_client_factory_dup_account_features (TpSimpleClientFactory *factory,
+ TpAccount *account)
+{
+ GArray *features;
+ GQuark feature;
+
+ features = chainup->dup_account_features (factory, account);
+
+ feature = TP_ACCOUNT_FEATURE_CONNECTION;
+ g_array_append_val (features, feature);
+
+ return features;
+}
+
+static GArray *
empathy_client_factory_dup_connection_features (TpSimpleClientFactory *factory,
TpConnection *connection)
{
@@ -137,6 +152,9 @@ empathy_client_factory_class_init (EmpathyClientFactoryClass *cls)
simple_class->dup_channel_features =
empathy_client_factory_dup_channel_features;
+ simple_class->dup_account_features =
+ empathy_client_factory_dup_account_features;
+
simple_class->dup_connection_features =
empathy_client_factory_dup_connection_features;
}