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

Fix missing in_reply_to in ActivityPub::VoteSerializer (#10148)

parent e6900b16
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,10 @@ class ActivityPub::VoteSerializer < ActiveModel::Serializer
ActivityPub::TagManager.instance.uri_for(object.account)
end
def in_reply_to
ActivityPub::TagManager.instance.uri_for(object.poll.status)
end
def to
ActivityPub::TagManager.instance.uri_for(object.poll.account)
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