Skip to content

Commit ea4607f

Browse files
Gargronhiyuki2578
authored andcommitted
Fix missing in_reply_to in ActivityPub::VoteSerializer (mastodon#10148)
1 parent f3d2575 commit ea4607f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

app/serializers/activitypub/vote_serializer.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ def attributed_to
2121
ActivityPub::TagManager.instance.uri_for(object.account)
2222
end
2323

24+
def in_reply_to
25+
ActivityPub::TagManager.instance.uri_for(object.poll.status)
26+
end
27+
2428
def to
2529
ActivityPub::TagManager.instance.uri_for(object.poll.account)
2630
end

0 commit comments

Comments
 (0)