cpw.attention_ui: a0a5f862: Restore message flags for attention mess...

malu at pidgin.im malu at pidgin.im
Mon Nov 16 15:51:52 EST 2009


-----------------------------------------------------------------
Revision: a0a5f86237f137efb59bb8ae94817f61b2945fd2
Ancestor: 79ac6699933544f4a138cb1d38197703474d3410
Author: malu at pidgin.im
Date: 2009-11-16T20:49:04
Branch: im.pidgin.cpw.attention_ui
URL: http://d.pidgin.im/viewmtn/revision/info/a0a5f86237f137efb59bb8ae94817f61b2945fd2

Modified files:
        libpurple/prpl.c

ChangeLog: 

Restore message flags for attention messages...

-------------- next part --------------
============================================================
--- libpurple/prpl.c	3b9a5acbd663a2f7e6dd8effef94f926f1359400
+++ libpurple/prpl.c	3bce42f166ddd09f4a1ae31a01b5b088ce44315a
@@ -471,7 +471,7 @@ got_attention(PurpleConnection *gc, int 
 	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. */


More information about the Commits mailing list