Skip to content
Snippets Groups Projects
Unverified Commit 92e7c849 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix punycode being returned in some entities instead of unicode in REST API (#13035)

parent ff07e805
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -145,7 +145,7 @@ class REST::StatusSerializer < ActiveModel::Serializer
end
def acct
object.account_acct
object.account.pretty_acct
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment