diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-03 22:00:57 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-08 20:33:26 +0800 |
commit | 63ec3726a865e5ae6b5ed5cdbcee290a3415f707 (patch) | |
tree | 6e68bdc46bfcf3c8d5565b6c9be374af2b1865f3 | |
parent | a7429bd7acc0359d327c8d0f8042dd536dfc1df2 (diff) | |
download | gsoc2013-empathy-63ec3726a865e5ae6b5ed5cdbcee290a3415f707.tar gsoc2013-empathy-63ec3726a865e5ae6b5ed5cdbcee290a3415f707.tar.gz gsoc2013-empathy-63ec3726a865e5ae6b5ed5cdbcee290a3415f707.tar.bz2 gsoc2013-empathy-63ec3726a865e5ae6b5ed5cdbcee290a3415f707.tar.lz gsoc2013-empathy-63ec3726a865e5ae6b5ed5cdbcee290a3415f707.tar.xz gsoc2013-empathy-63ec3726a865e5ae6b5ed5cdbcee290a3415f707.tar.zst gsoc2013-empathy-63ec3726a865e5ae6b5ed5cdbcee290a3415f707.zip |
client-factory: prepare TP_CONNECTION_FEATURE_CONTACT_LIST_PROPERTIES
https://bugzilla.gnome.org/show_bug.cgi?id=663327
-rw-r--r-- | libempathy/empathy-client-factory.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |