diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/serializers/activitypub/actor_serializer.rb | 2 | ||||
-rw-r--r-- | app/serializers/activitypub/note_serializer.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/serializers/activitypub/actor_serializer.rb b/app/serializers/activitypub/actor_serializer.rb index 7ea28afd5..485d9d78f 100644 --- a/app/serializers/activitypub/actor_serializer.rb +++ b/app/serializers/activitypub/actor_serializer.rb @@ -82,7 +82,7 @@ class ActivityPub::ActorSerializer < ActivityPub::Serializer end def summary - Formatter.instance.simplified_format(object) + Formatter.instance.simplified_format(object, skip_cache: true) end def icon diff --git a/app/serializers/activitypub/note_serializer.rb b/app/serializers/activitypub/note_serializer.rb index ff39c97c4..fe943a472 100644 --- a/app/serializers/activitypub/note_serializer.rb +++ b/app/serializers/activitypub/note_serializer.rb @@ -38,7 +38,7 @@ class ActivityPub::NoteSerializer < ActivityPub::Serializer end def content - Formatter.instance.format(object) + Formatter.instance.format(object, skip_cache: true) end def source @@ -48,7 +48,7 @@ class ActivityPub::NoteSerializer < ActivityPub::Serializer end def content_map - { object.language => Formatter.instance.format(object) } + { object.language => Formatter.instance.format(object, skip_cache: true) } end def replies |