mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-17 11:10:18 +00:00
Only omit alerts when we're actually away
This commit is contained in:
@@ -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 */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user