Update controllers.py
This commit is contained in:
parent
15220a3e98
commit
dcf75dc001
|
@ -985,7 +985,7 @@ class Controller:
|
|||
|
||||
# TODO: handle cases when all chats muted on global level
|
||||
if chat["notification_settings"]["mute_for"] or self.model.is_me(
|
||||
msg["sender_id"].get("user_id")
|
||||
(last_msg.get("sender_id") or last_msg.get("sender")).get("user_id")
|
||||
):
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in a new issue