diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-03-28 16:22:28 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-03-28 16:22:28 +0200 |
commit | f313bf3e97ddd83e7847ae00f5bdb488942c943c (patch) | |
tree | 5035b4504d35a85cb0b2fcbc65ce57ed5d0de71d /app/serializers/activitypub | |
parent | a4e1830b5f15118bf2532401005376a0c6e896e6 (diff) | |
parent | 30658924a80434e6a2bceb61267b911ea8d37898 (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'app/serializers/activitypub')
-rw-r--r-- | app/serializers/activitypub/actor_serializer.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/serializers/activitypub/actor_serializer.rb b/app/serializers/activitypub/actor_serializer.rb index 30f86aae3..e6dd8040e 100644 --- a/app/serializers/activitypub/actor_serializer.rb +++ b/app/serializers/activitypub/actor_serializer.rb @@ -103,7 +103,7 @@ class ActivityPub::ActorSerializer < ActivityPub::Serializer end def summary - object.suspended? ? '' : html_aware_format(object.note, object.local?) + object.suspended? ? '' : account_bio_format(object) end def icon @@ -195,7 +195,7 @@ class ActivityPub::ActorSerializer < ActivityPub::Serializer end def value - html_aware_format(object.value, object.account.local?, with_rel_me: true, with_domains: true, multiline: false) + account_field_value_format(object) end end |