aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-09 18:42:25 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-09 18:42:25 +0800
commit16074928eee79472c804687556c193f50409ce8c (patch)
tree13a8744718db5b8ff6205b960fd1ebb7a92108b6
parentfe9075a08d2ee01281397511752087e94ea3c3c2 (diff)
downloadgsoc2013-empathy-16074928eee79472c804687556c193f50409ce8c.tar
gsoc2013-empathy-16074928eee79472c804687556c193f50409ce8c.tar.gz
gsoc2013-empathy-16074928eee79472c804687556c193f50409ce8c.tar.bz2
gsoc2013-empathy-16074928eee79472c804687556c193f50409ce8c.tar.lz
gsoc2013-empathy-16074928eee79472c804687556c193f50409ce8c.tar.xz
gsoc2013-empathy-16074928eee79472c804687556c193f50409ce8c.tar.zst
gsoc2013-empathy-16074928eee79472c804687556c193f50409ce8c.zip
tp-chat: mark scrollback messages as backlog
-rw-r--r--libempathy/empathy-tp-chat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index b77fbb216..90c31e4cc 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -284,6 +284,9 @@ tp_chat_build_message (EmpathyTpChat *chat,
empathy_message_set_incoming (message, incoming);
empathy_message_set_flags (message, flags);
+ if (flags & TP_CHANNEL_TEXT_MESSAGE_FLAG_SCROLLBACK)
+ empathy_message_set_is_backlog (message, TRUE);
+
g_queue_push_tail (priv->messages_queue, message);
if (from_handle == 0) {