mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 08:07:17 +08:00
FIX: Endless loading post history (#28425)
This commit is contained in:
@ -469,6 +469,8 @@ class PostsController < ApplicationController
|
||||
post.public_version -= 1
|
||||
post.save
|
||||
|
||||
post.publish_change_to_clients!(:revised)
|
||||
|
||||
render body: nil
|
||||
end
|
||||
|
||||
@ -509,6 +511,8 @@ class PostsController < ApplicationController
|
||||
post.public_version += 1
|
||||
post.save
|
||||
|
||||
post.publish_change_to_clients!(:revised)
|
||||
|
||||
render body: nil
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user