mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user