Transmogrifier: Move Rejects to the Pipeline

This commit is contained in:
lain 2020-08-12 14:48:51 +02:00
commit 7224bf309e
7 changed files with 105 additions and 51 deletions

View file

@ -24,7 +24,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier.RejectHandlingTest do
accept_data =
Map.put(accept_data, "object", Map.put(accept_data["object"], "actor", follower.ap_id))
:error = Transmogrifier.handle_incoming(accept_data)
{:error, _} = Transmogrifier.handle_incoming(accept_data)
follower = User.get_cached_by_id(follower.id)