Fix missing in_reply_to in ActivityPub::VoteSerializer (#10148)
parent
e6900b167b
commit
3cf98aac66
|
@ -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
|
||||
|
|
Reference in New Issue