Merge branch 'develop' into fix/reject-third-party-reports

This commit is contained in:
Lain Soykaf 2026-05-13 08:49:20 +04:00
commit 68e4bb53a2
No known key found for this signature in database
3 changed files with 22 additions and 0 deletions

View file

@ -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),