Update controllers.py

This commit is contained in:
TruncatedDinosour 2022-02-16 22:04:06 +00:00 committed by GitHub
parent 15220a3e98
commit dcf75dc001
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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