aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-group.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-03-11 20:22:32 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-03-11 20:22:32 +0800
commitcf327059e269141a38a3aa38f0a37d3c6eb0fbbb (patch)
tree3a68aef4cba2025b0847780281f0bfb3e5c7eb32 /libempathy/empathy-tp-group.c
parent6b9313a9535a115ddf9741f8311dfb720b3ad340 (diff)
downloadgsoc2013-empathy-cf327059e269141a38a3aa38f0a37d3c6eb0fbbb.tar
gsoc2013-empathy-cf327059e269141a38a3aa38f0a37d3c6eb0fbbb.tar.gz
gsoc2013-empathy-cf327059e269141a38a3aa38f0a37d3c6eb0fbbb.tar.bz2
gsoc2013-empathy-cf327059e269141a38a3aa38f0a37d3c6eb0fbbb.tar.lz
gsoc2013-empathy-cf327059e269141a38a3aa38f0a37d3c6eb0fbbb.tar.xz
gsoc2013-empathy-cf327059e269141a38a3aa38f0a37d3c6eb0fbbb.tar.zst
gsoc2013-empathy-cf327059e269141a38a3aa38f0a37d3c6eb0fbbb.zip
Simplify tp_group_get_contact.
svn path=/trunk/; revision=754
Diffstat (limited to 'libempathy/empathy-tp-group.c')
-rw-r--r--libempathy/empathy-tp-group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-tp-group.c b/libempathy/empathy-tp-group.c
index 323bdff7f..ec60e9bf8 100644
--- a/libempathy/empathy-tp-group.c
+++ b/libempathy/empathy-tp-group.c
@@ -82,7 +82,7 @@ tp_group_get_contact (EmpathyTpGroup *group,
handle);
}
- if (contact && empathy_contact_get_handle (contact) == priv->self_handle) {
+ if (contact && handle == priv->self_handle) {
empathy_contact_set_is_user (contact, TRUE);
}