mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
FIX: Edit ratelimits should be on the actor, not post owner
This commit is contained in:
parent
150081bf27
commit
4814659b7b
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class PostRevisor
|
|||
@post.version += 1
|
||||
@post.last_version_at = get_revised_at
|
||||
update_post
|
||||
EditRateLimiter.new(@post.user).performed! unless @opts[:bypass_rate_limiter] == true
|
||||
EditRateLimiter.new(@user).performed! unless @opts[:bypass_rate_limiter] == true
|
||||
bump_topic unless @opts[:bypass_bump]
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue