Do not notify for group messages

This commit is contained in:
Austen Adler 2019-03-30 23:44:28 -04:00
parent 6547c0b21b
commit 7fced310ec

View File

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