mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
mute user: Add some comments on message fetch.
These explain why we don't consider user mutes in message fetching/unread data.
This commit is contained in:
committed by
Tim Abbott
parent
8b098b95bb
commit
2b9f2cc8ff
@@ -1010,6 +1010,9 @@ def extract_unread_data_from_um_rows(
|
||||
if topic_mute_checker(recipient_id, topic):
|
||||
return True
|
||||
|
||||
# Messages sent by muted users are never unread, so we don't
|
||||
# need any logic related to muted users here.
|
||||
|
||||
return False
|
||||
|
||||
huddle_cache: Dict[int, str] = {}
|
||||
|
||||
Reference in New Issue
Block a user