]> git.0d.be Git - empathy.git/commitdiff
Simplify tp_group_get_contact.
authorXavier Claessens <xclaesse@src.gnome.org>
Tue, 11 Mar 2008 12:22:32 +0000 (12:22 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Tue, 11 Mar 2008 12:22:32 +0000 (12:22 +0000)
svn path=/trunk/; revision=754

libempathy/empathy-tp-group.c

index 323bdff7f470b7f661b2f0d99f2df2623958275b..ec60e9bf82e46f6f18cca4cf8406b9bd2c7da345 100644 (file)
@@ -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);
        }