mirror of
https://github.com/discourse/discourse.git
synced 2026-07-29 15:54:48 -05:00
FIX: make staff_edit_locks_post work with download_remote_images_to_local
This commit is contained in:
@@ -176,6 +176,7 @@ class PostRevisor
|
||||
!@post.wiki? &&
|
||||
@fields.has_key?('raw') &&
|
||||
@editor.staff? &&
|
||||
@editor != Discourse.system_user &&
|
||||
!@post.user.staff?
|
||||
)
|
||||
PostLocker.new(@post, @editor).lock
|
||||
|
||||
Reference in New Issue
Block a user