From 7fced310ec4ad50466cc2a6ccccb74d698c9a43e Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sat, 30 Mar 2019 23:44:28 -0400 Subject: [PATCH] Do not notify for group messages --- interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface.c b/interface.c index f78619a..bea40de 100644 --- a/interface.c +++ b/interface.c @@ -3061,7 +3061,7 @@ void print_message_gw (struct tgl_state *TLSR, struct tgl_message *M) { if (tgl_get_peer_type (M->to_id) == TGL_PEER_ENCR_CHAT) { write_secret_chat_file (); } - if (alert_sound) { + if (alert_sound && tgl_get_peer_type (M->to_id) != TGL_PEER_CHANNEL) { play_sound (); } if (disable_output && !notify_ev) { return; }