mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix missing in_reply_to in ActivityPub::VoteSerializer (#10148)
This commit is contained in:
parent
e6900b167b
commit
3cf98aac66
@ -21,6 +21,10 @@ class ActivityPub::VoteSerializer < ActiveModel::Serializer
|
|||||||
ActivityPub::TagManager.instance.uri_for(object.account)
|
ActivityPub::TagManager.instance.uri_for(object.account)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def in_reply_to
|
||||||
|
ActivityPub::TagManager.instance.uri_for(object.poll.status)
|
||||||
|
end
|
||||||
|
|
||||||
def to
|
def to
|
||||||
ActivityPub::TagManager.instance.uri_for(object.poll.account)
|
ActivityPub::TagManager.instance.uri_for(object.poll.account)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user