Restore message flags for attention messages... cpw.attention_ui

Mon, 16 Nov 2009 20:49:04 +0000

author
Marcus Lundblad <malu@pidgin.im>
date
Mon, 16 Nov 2009 20:49:04 +0000
branch
cpw.attention_ui
changeset 29486
afddf9407cfb
parent 29485
ee00ab964bcb
child 29487
1fa2077fb506

Restore message flags for attention messages...

libpurple/prpl.c file | annotate | diff | comparison | revisions
--- a/libpurple/prpl.c	Mon Nov 16 20:45:56 2009 +0000
+++ b/libpurple/prpl.c	Mon Nov 16 20:49:04 2009 +0000
@@ -471,7 +471,7 @@
 	attn = purple_get_attention_type_from_code(gc->account, type_code);
 
 	/* PURPLE_MESSAGE_NOTIFY is for attention messages. */
-	flags = PURPLE_MESSAGE_SYSTEM;
+	flags = PURPLE_MESSAGE_SYSTEM | PURPLE_MESSAGE_NOTIFY | PURPLE_MESSAGE_RECV;
 
 	/* TODO: if (attn->icon_name) is non-null, use it to lookup an emoticon and display
 	 * it next to the attention command. And if it is null, display a generic icon. */

mercurial