FIX: don't send post edit notification when hidden tags are changed

Create a hidden revision so staff can see the changed, but don't send
notifications to non-staff.
This commit is contained in:
Neil Lalonde
2019-06-04 15:48:06 -04:00
parent dd1a034e7b
commit 1cf0b549ab
3 changed files with 25 additions and 1 deletions

View File

@ -462,7 +462,8 @@ class PostRevisor
user_id: @post.last_editor_id,
post_id: @post.id,
number: @post.version,
modifications: modifications
modifications: modifications,
hidden: only_hidden_tags_changed?
)
end