Transmogrifier: federate quotes with _misskey_quote field
This commit is contained in:
parent
cf8e425883
commit
3c8319fe9f
3 changed files with 15 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue