1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-30 03:56:45 +02:00

add setting to disable terminal alerts

This commit is contained in:
Jfreegman
2014-04-11 21:47:09 -04:00
parent e384f87a04
commit 766ae685c2
4 changed files with 15 additions and 2 deletions

View File

@ -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();
}