changeset 28675:52dc24a5069f

ft: Properly set a bitmask field (so it includes PURPLE_MESSAGE_SYSTEM like all other ft messages). committer: Paul Aurich <paul@darkrain42.org>
author Florian Quèze <florian@instantbird.org>
date Sun, 29 Nov 2009 17:35:00 +0000
parents cfca0217d162
children 8d213c65abad
files libpurple/ft.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/ft.c	Sun Nov 29 17:32:05 2009 +0000
+++ b/libpurple/ft.c	Sun Nov 29 17:35:00 2009 +0000
@@ -229,7 +229,7 @@
 	escaped = g_markup_escape_text(message, -1);
 
 	if (is_error)
-		flags = PURPLE_MESSAGE_ERROR;
+		flags |= PURPLE_MESSAGE_ERROR;
 
 	purple_conversation_write(conv, NULL, escaped, flags, time(NULL));
 	g_free(escaped);