]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-contact.c
Add commented out code to set the _is_ready property of EmpathyContact
[empathy.git] / libempathy / empathy-contact.c
index 4edc4a30808818a2fc3043ba296d901b8385798b..a44abfe6874c2316720871b78e013cd49c0f0711 100644 (file)
@@ -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;
 }