From 81073b4ead57026a71a8e192947123aef9f9a3cf Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 17 Jun 2010 12:49:26 +0200 Subject: empathy_message_equal: always use the timestamp+body (#621797) There is no reason to only use this new heuristic only in the TPL case. Furthermore, we're about to make TPL mandatory so it's good to have it more tested. --- libempathy/empathy-message.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libempathy/empathy-message.c b/libempathy/empathy-message.c index a46d7d9a7..85d5cbc58 100644 --- a/libempathy/empathy-message.c +++ b/libempathy/empathy-message.c @@ -666,12 +666,8 @@ empathy_message_equal (EmpathyMessage *message1, EmpathyMessage *message2) priv1 = GET_PRIV (message1); priv2 = GET_PRIV (message2); -#ifdef ENABLE_TPL if (priv1->timestamp == priv2->timestamp && !tp_strdiff (priv1->body, priv2->body)) { -#else - if (priv1->id == priv2->id && !tp_strdiff (priv1->body, priv2->body)) { -#endif /* ENABLE_TPL */ return TRUE; } -- cgit v1.2.3