changeset 29308:430badc49904

Don't treat attentions as normal messages, this avoids playing the normal message received sound, not that attention has its own sound event
author Marcus Lundblad <ml@update.uu.se>
date Mon, 16 Nov 2009 19:43:36 +0000
parents 28880022598c
children 974748d0e1f2
files libpurple/prpl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/prpl.c	Mon Nov 16 18:54:40 2009 +0000
+++ b/libpurple/prpl.c	Mon Nov 16 19:43:36 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 | PURPLE_MESSAGE_NOTIFY | PURPLE_MESSAGE_RECV;
+	flags = PURPLE_MESSAGE_SYSTEM;
 
 	/* 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. */