mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-13 10:26:53 +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. |
||
|---|---|---|
| .. | ||
| components/post_voting | ||
| fabricators | ||
| lib | ||
| models | ||
| requests | ||
| serializers | ||
| system | ||
| plugin_helper.rb | ||