0
0
Fork 0

Fix Undo Announce sometimes inlining the originally Announced status (#17516)

* Change tests to have more specific expectations on sent ActivityPub payloads

* Check that payload doesn't actually contain the contents of the boosted toot

* Fix Undo Announce sometimes inlining the originally Announced status
This commit is contained in:
Claire 2022-02-11 14:52:07 +01:00 committed by GitHub
parent 6f38765fcc
commit d4e6774a0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 88 additions and 26 deletions

View file

@ -22,6 +22,6 @@ class ActivityPub::UndoAnnounceSerializer < ActivityPub::Serializer
end
def virtual_object
ActivityPub::ActivityPresenter.from_status(object)
ActivityPub::ActivityPresenter.from_status(object, allow_inlining: false)
end
end