From 63ec3726a865e5ae6b5ed5cdbcee290a3415f707 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 3 Nov 2011 15:00:57 +0100 Subject: client-factory: prepare TP_CONNECTION_FEATURE_CONTACT_LIST_PROPERTIES https://bugzilla.gnome.org/show_bug.cgi?id=663327 --- libempathy/empathy-client-factory.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libempathy') diff --git a/libempathy/empathy-client-factory.c b/libempathy/empathy-client-factory.c index beaa62157..edc5463c9 100644 --- a/libempathy/empathy-client-factory.c +++ b/libempathy/empathy-client-factory.c @@ -161,6 +161,12 @@ empathy_client_factory_dup_connection_features (TpSimpleClientFactory *factory, feature = TP_CONNECTION_FEATURE_CONTACT_BLOCKING; g_array_append_val (features, feature); + /* Most empathy-* may allow user to add a contact to his contact list. We + * need this property to check if the connection allows it. It's cheap to + * prepare anyway as it will just call GetAll() on the ContactList iface. */ + feature = TP_CONNECTION_FEATURE_CONTACT_LIST_PROPERTIES; + g_array_append_val (features, feature); + return features; } -- cgit v1.2.3