Only omit alerts when we're actually away

This commit is contained in:
Berke Viktor
2012-10-15 13:46:23 +02:00
parent e8f7653cf0
commit 831794e150
3 changed files with 16 additions and 16 deletions

View File

@@ -587,7 +587,7 @@ fe_set_hilight (struct session *sess)
if (sess->gui->is_tab)
fe_set_tab_color (sess, 3); /* set tab to blue */
if (prefs.input_flash_hilight && !prefs.away_omit_alerts)
if (prefs.input_flash_hilight && (!prefs.away_omit_alerts || !sess->server->is_away))
fe_flash_window (sess); /* taskbar flash */
}