Do not notify for group messages
This commit is contained in:
parent
6547c0b21b
commit
7fced310ec
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user