Mercurial > pidgin
diff src/server.c @ 3524:6f9610016503
[gaim-migrate @ 3597]
If I didn't do this, if you turned queuing on in the docklet, and then
unloaded the docklet--you'd never get IMs ever again.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 16 Sep 2002 20:42:17 +0000 |
parents | 82180bb28f1f |
children | b791019b2492 |
line wrap: on
line diff
--- a/src/server.c Mon Sep 16 19:50:52 2002 +0000 +++ b/src/server.c Mon Sep 16 20:42:17 2002 +0000 @@ -691,10 +691,10 @@ if (new_conv && (sound_options & OPT_SOUND_FIRST_RCV)) play_sound(SND_FIRST_RECEIVE); - else if (cnv && cnv->makesound) + else if (new_conv || cnv->makesound) play_sound(SND_RECEIVE); - if (away_options & OPT_AWAY_QUEUE_UNREAD && !find_conversation(name)) { + if (away_options & OPT_AWAY_QUEUE_UNREAD && !find_conversation(name) && docklet_count) { /* We're gonna queue it up and wait for the user to ask for it... probably * by clicking the docklet or windows tray icon. */ struct queued_message *qm;