diff options
author | Marcus Lundblad <malu@pidgin.im> | 2009-11-16 19:43:36 +0000 |
---|---|---|
committer | Marcus Lundblad <malu@pidgin.im> | 2009-11-16 19:43:36 +0000 |
commit | 61286e9930eaf4c2905e05b071942df0f55fa6ea (patch) | |
tree | e313355b6f316e01ccffac5ce983c31c0915929a | |
parent | 5a4b3389434fd3fdd175dd0272d00890bc52e5bf (diff) | |
download | pidgin-61286e9930eaf4c2905e05b071942df0f55fa6ea.tar.gz |
Don't treat attentions as normal messages, this avoids playing the normal
message received sound, not that attention has its own sound event
-rw-r--r-- | libpurple/prpl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpurple/prpl.c b/libpurple/prpl.c index e7f9697c66..636aee07f2 100644 --- a/libpurple/prpl.c +++ b/libpurple/prpl.c @@ -471,7 +471,7 @@ got_attention(PurpleConnection *gc, int id, const char *who, guint type_code) 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. */ |