]> cat aescling's git repositories - mastodon.git/commitdiff
Fix typo (#17875)
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 26 Mar 2022 03:02:19 +0000 (04:02 +0100)
committerGitHub <noreply@github.com>
Sat, 26 Mar 2022 03:02:19 +0000 (04:02 +0100)
app/serializers/activitypub/actor_serializer.rb

index bd16483484f67d19c415da1320699f084bd08a96..30f86aae31d1ea3a26cfbfc1c5e956e7284e1d6e 100644 (file)
@@ -195,7 +195,7 @@ class ActivityPub::ActorSerializer < ActivityPub::Serializer
     end
 
     def value
-      html_aware_format(object.value, object.account.value?, with_rel_me: true, with_domains: true, multiline: false)
+      html_aware_format(object.value, object.account.local?, with_rel_me: true, with_domains: true, multiline: false)
     end
   end