Fix moderators privacy
This commit is contained in:
parent
0bc970aa00
commit
e5677b21e7
2 changed files with 11 additions and 5 deletions
|
@ -170,7 +170,6 @@ class UpdateStatusService < BaseService
|
|||
end
|
||||
|
||||
def clear_histories!
|
||||
MediaAttachment.where(status_id: @status.id).destroy_all unless @status.with_media?
|
||||
@status.edits.destroy_all
|
||||
@status.edited_at = nil
|
||||
@status.save!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue