mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 02: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
|
transitions to: :removed
|
||||||
|
|
||||||
before do
|
before do
|
||||||
|
next if object.blank?
|
||||||
|
|
||||||
object.update(content: {}) unless object.content.empty?
|
object.update(content: {}) unless object.content.empty?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue