From: Xavier Claessens Date: Fri, 20 Feb 2009 12:14:57 +0000 (+0100) Subject: Add commented out code to set the _is_ready property of EmpathyContact X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=82d5338954ab7bf8e7c3995d6ee04d66d5be6fc6 Add commented out code to set the _is_ready property of EmpathyContact --- 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; }