FIX: Fixed editing whispers bumps topic (#7106)

This commit is contained in:
Tim Lange
2019-03-05 18:02:20 +01:00
committed by Régis Hanol
parent 671cec4bd2
commit 83f4c4a3f2
2 changed files with 10 additions and 1 deletions

View File

@@ -512,7 +512,7 @@ class PostRevisor
end
def bypass_bump?
!@post_successfully_saved || @topic_changes.errored? || @opts[:bypass_bump] == true
!@post_successfully_saved || @topic_changes.errored? || @opts[:bypass_bump] == true || @post.whisper?
end
def is_last_post?