5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2025-03-15 22:48:19 +00:00

Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl

This commit is contained in:
Sutty 2024-03-13 18:53:05 +00:00
commit b6f8ff756e

View file

@ -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