]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-contact.c
Use tp_connection_get_self_handle where needed
[empathy.git] / libempathy / empathy-contact.c
index 37910928501bbeac1b0e0653249dd98369395f7a..51259bddf631ac1148a244e5c7d27ab04f828a40 100644 (file)
@@ -727,20 +727,6 @@ 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;
 }