14 lines
468 B
Diff
14 lines
468 B
Diff
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; }
|