diff libpurple/ft.c @ 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 53aab96e61a9
children 811c12e6d965 1e19c439fa7a b0f1698c52f8
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);