mirror of
https://0xacab.org/sutty/sutty
synced 2025-03-15 20:48:20 +00:00
Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl
This commit is contained in:
commit
b6f8ff756e
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