Transmogrifier: Handle accepts with the pipeline

This commit is contained in:
lain 2020-08-11 17:26:01 +02:00
commit f988d82e46
3 changed files with 30 additions and 32 deletions

View file

@ -82,7 +82,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier.AcceptHandlingTest 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)