aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2013-10-03 04:53:43 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-10-10 22:05:17 +0800
commit8daa7e53530c1cd633178ffbabd67075d5571e83 (patch)
tree27e0652deaaf3b529ea2ffef7dc52b243b82d7ac /libempathy-gtk
parent8e0edf2980df05df3fd39cbe3e417b012b313393 (diff)
downloadgsoc2013-empathy-8daa7e53530c1cd633178ffbabd67075d5571e83.tar
gsoc2013-empathy-8daa7e53530c1cd633178ffbabd67075d5571e83.tar.gz
gsoc2013-empathy-8daa7e53530c1cd633178ffbabd67075d5571e83.tar.bz2
gsoc2013-empathy-8daa7e53530c1cd633178ffbabd67075d5571e83.tar.lz
gsoc2013-empathy-8daa7e53530c1cd633178ffbabd67075d5571e83.tar.xz
gsoc2013-empathy-8daa7e53530c1cd633178ffbabd67075d5571e83.tar.zst
gsoc2013-empathy-8daa7e53530c1cd633178ffbabd67075d5571e83.zip
EmpathyMessage: remove flags, they are useless
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-chat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index a9f1bb872..c6cc8e081 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -1434,7 +1434,6 @@ chat_should_highlight (EmpathyChat *chat,
{
EmpathyChatPriv *priv = GET_PRIV (chat);
const gchar *msg;
- TpChannelTextMessageFlags flags;
g_return_val_if_fail (EMPATHY_IS_MESSAGE (message), FALSE);
@@ -1451,8 +1450,7 @@ chat_should_highlight (EmpathyChat *chat,
return FALSE;
}
- flags = empathy_message_get_flags (message);
- if (flags & TP_CHANNEL_TEXT_MESSAGE_FLAG_SCROLLBACK) {
+ if (empathy_message_is_backlog (message)) {
/* FIXME: Ideally we shouldn't highlight scrollback messages only if they
* have already been received by the user before (and so are in the logs) */
return FALSE;