mirror of
https://github.com/paul-nameless/tg
synced 2024-11-26 05:40:17 +00:00
quick fix notification settings
This commit is contained in:
parent
35ee2b58f5
commit
b13588901a
1 changed files with 2 additions and 5 deletions
|
@ -317,11 +317,8 @@ class Controller:
|
|||
if chat_id == chat["id"]:
|
||||
break
|
||||
|
||||
if (
|
||||
chat
|
||||
and chat["notification_settings"]["mute_for"]
|
||||
or chat["notification_settings"]["use_default_mute_for"]
|
||||
):
|
||||
# TODO: handle cases when all chats muted on global level
|
||||
if chat and chat["notification_settings"]["mute_for"]:
|
||||
return
|
||||
|
||||
# notify
|
||||
|
|
Loading…
Reference in a new issue