mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-07 08:26:36 +01:00
add setting to disable terminal alerts
This commit is contained in:
@@ -189,7 +189,7 @@ void alert_window(ToxWindow *self, int type, bool is_beep)
|
||||
|
||||
StatusBar *stb = prompt->stb;
|
||||
|
||||
if (is_beep && stb->status != TOX_USERSTATUS_BUSY)
|
||||
if (is_beep && stb->status != TOX_USERSTATUS_BUSY && user_settings->alerts == ALERTS_ENABLED)
|
||||
beep();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user