mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 16:36:25 +08:00

In previous PR https://github.com/discourse/discourse/pull/22340 bug was introduced. Notifications were blocked when, even if topic was watched directly. New query is taking TopicUser into consideration. In addition, in user interface, when `watched_precedence_over_muted` is not set, then value from SiteSetting should be displayed.