diff options
Diffstat (limited to 'app/serializers/rest/announcement_serializer.rb')
-rw-r--r-- | app/serializers/rest/announcement_serializer.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/serializers/rest/announcement_serializer.rb b/app/serializers/rest/announcement_serializer.rb index ae72f9ace..f27feb669 100644 --- a/app/serializers/rest/announcement_serializer.rb +++ b/app/serializers/rest/announcement_serializer.rb @@ -41,5 +41,9 @@ class REST::AnnouncementSerializer < ActiveModel::Serializer def url ActivityPub::TagManager.instance.url_for(object) end + + def acct + object.pretty_acct + end end end |