mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 09:16:22 +00:00
parent
f794e8057b
commit
882ab1679c
1 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,8 @@ class ActivityPub < ApplicationRecord
|
|||
transitions to: :removed
|
||||
|
||||
before do
|
||||
next if object.blank?
|
||||
|
||||
object.update(content: {}) unless object.content.empty?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue