forked from zulip/zulip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactoring: moved initial logic of calc_can_mark_messages_read
core_filters This a pre commit to prepare for changes in zulip#25351 In web/src/filter, this initial logic is used by both can_mark_messages_read and is_common_narrow. Changes related to this pr zulip#25351 breaks is_common_narrow. As per TODO comment of is_common_narrow, we moved those filter logics to a core_filters method which is extended in both of them.
- Loading branch information
1 parent
baa77ef
commit 29aa356
Showing
1 changed file
with
45 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters