Eugen Rochko
4 vuotta sitten
committed by
GitHub
vanhempi
commit
92e7c84969
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 muutettua tiedostoa jossa
5 lisäystä ja
1 poistoa
-
app/serializers/rest/announcement_serializer.rb
-
app/serializers/rest/status_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 |
|
|
@@ -145,7 +145,7 @@ class REST::StatusSerializer < ActiveModel::Serializer |
|
|
|
end |
|
|
|
|
|
|
|
def acct |
|
|
|
object.account_acct |
|
|
|
object.account.pretty_acct |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|