# HG changeset patch # User Marcus Lundblad # Date 1258400616 0 # Node ID 430badc499047f89cb90e1ccfa430c005a5d0da8 # Parent 28880022598c7886029d836654a5c48b1a51789a Don't treat attentions as normal messages, this avoids playing the normal message received sound, not that attention has its own sound event diff -r 28880022598c -r 430badc49904 libpurple/prpl.c --- 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. */