mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-15 22:02:43 +08:00
Only unsilence users when disagreeing with a flag if the silence was caused by that specific post. Previously, disagreeing would unconditionally call `UserSilencer.unsilence`, allowing reviewers to clear unrelated silences. This aligns with `ReviewableFlaggedPost`'s behavior and prevents category group moderators from using reviewables in their category to clear silences imposed elsewhere. |
||
|---|---|---|
| .. | ||
| post_spec.rb | ||
| post_voting_comment_spec.rb | ||
| post_voting_vote_spec.rb | ||
| reviewable_post_voting_comment_spec.rb | ||
| topic_embed_spec.rb | ||
| topic_spec.rb | ||