Transmogrifier: federate quotes with _misskey_quote field

This commit is contained in:
Alex Gleason 2022-01-28 14:06:32 -06:00 committed by tusooa
commit 3c8319fe9f
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
3 changed files with 15 additions and 0 deletions

View file

@ -382,7 +382,11 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do
{:ok, modified} = Transmogrifier.prepare_outgoing(quote_post.data)
quoted_post = Object.normalize(quoted_post)
assert modified["object"]["quoteUrl"] == quoted_post.data["id"]
# Add Misskey's quote as a fallback
assert modified["object"]["_misskey_quote"] == quoted_post.data["id"]
end
end