]> git.0d.be Git - empathy.git/commitdiff
Do not use empathy_contact_equal(), we can now compare pointers directly.
authorXavier Claessens <xclaesse@gmail.com>
Thu, 11 Jun 2009 12:04:28 +0000 (14:04 +0200)
committerXavier Claessens <xclaesse@gmail.com>
Thu, 11 Jun 2009 16:06:32 +0000 (18:06 +0200)
libempathy-gtk/empathy-theme-adium.c

index 4cd6877fe8636388d6b014f06db1f4bcf0ccca55..6448b242b09a1de62ae7efa617641e50af629b6c 100644 (file)
@@ -495,8 +495,7 @@ theme_adium_append_message (EmpathyChatView *view,
        }
 
        /* Get the right html/func to add the message */
-       if (priv->last_contact &&
-           empathy_contact_equal (priv->last_contact, sender)) {
+       if (priv->last_contact == sender) {
                func = "appendNextMessage";
                if (empathy_contact_is_user (sender)) {
                        html = priv->out_nextcontent_html;