Merge branch 'develop' into fix/reject-third-party-reports
This commit is contained in:
commit
68e4bb53a2
3 changed files with 22 additions and 0 deletions
|
|
@ -450,6 +450,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
|
|||
) do
|
||||
with context <- data["context"] || Utils.generate_context_id(),
|
||||
content <- data["content"] || "",
|
||||
objects <- List.wrap(objects),
|
||||
%User{} = actor <- User.get_cached_by_ap_id(actor),
|
||||
# Reduce the object list to find the reported user.
|
||||
%User{} = account <- get_reported(objects),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue