mirror of
https://github.com/discourse/discourse.git
synced 2025-03-28 21:08:10 +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.