aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-02-20 20:14:57 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-04-22 18:21:12 +0800
commit82d5338954ab7bf8e7c3995d6ee04d66d5be6fc6 (patch)
tree35b1434cc67ef6fa732b285c0f91e2239cf8d063 /libempathy/empathy-contact.c
parentb8484ca5a72d50253a4ec86c79b188dfd46265ab (diff)
downloadgsoc2013-empathy-82d5338954ab7bf8e7c3995d6ee04d66d5be6fc6.tar
gsoc2013-empathy-82d5338954ab7bf8e7c3995d6ee04d66d5be6fc6.tar.gz
gsoc2013-empathy-82d5338954ab7bf8e7c3995d6ee04d66d5be6fc6.tar.bz2
gsoc2013-empathy-82d5338954ab7bf8e7c3995d6ee04d66d5be6fc6.tar.lz
gsoc2013-empathy-82d5338954ab7bf8e7c3995d6ee04d66d5be6fc6.tar.xz
gsoc2013-empathy-82d5338954ab7bf8e7c3995d6ee04d66d5be6fc6.tar.zst
gsoc2013-empathy-82d5338954ab7bf8e7c3995d6ee04d66d5be6fc6.zip
Add commented out code to set the _is_ready property of EmpathyContact
Diffstat (limited to 'libempathy/empathy-contact.c')
-rw-r--r--libempathy/empathy-contact.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index 4edc4a308..a44abfe68 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;
}