From 82d5338954ab7bf8e7c3995d6ee04d66d5be6fc6 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 20 Feb 2009 13:14:57 +0100 Subject: [PATCH] Add commented out code to set the _is_ready property of EmpathyContact --- libempathy/empathy-contact.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index 4edc4a30..a44abfe6 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -731,6 +731,20 @@ empathy_contact_is_user (EmpathyContact *contact) priv = GET_PRIV (contact); + /* FIXME: Uncomment this once we depend on tp-glib 0.7.26 + if (priv->tp_contact != NULL) + { + TpConnection *connection; + TpHandle handle; + TpHandle self_handle; + + connection = tp_contact_get_connection (priv->tp_contact); + self_handle = tp_connection_get_self_handle (connection); + handle = tp_contact_get_handle (priv->tp_contact); + return self_handle == handle; + } + */ + return priv->is_user; } -- 2.39.2