[Telepathy-commits] [telepathy-glib/master] TpContact: use fast path via GetContactAttributes for upgrade
Simon McVittie
simon.mcvittie at collabora.co.uk
Mon Dec 1 03:14:00 PST 2008
---
telepathy-glib/contact.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/telepathy-glib/contact.c b/telepathy-glib/contact.c
index dc6ea50..ceae418 100644
--- a/telepathy-glib/contact.c
+++ b/telepathy-glib/contact.c
@@ -1962,6 +1962,12 @@ tp_connection_upgrade_contacts (TpConnection *self,
g_assert (context->handles->len == n_contacts);
+ if (tp_proxy_has_interface_by_id (self,
+ TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACTS))
+ {
+ g_queue_push_head (&context->todo, contacts_get_attributes);
+ }
+
contacts_context_queue_features (context, feature_flags);
/* use an idle to make sure the callback is called after we return,
--
1.5.6.5
More information about the Telepathy-commits
mailing list