Store status data inside Flag activity
This commit is contained in:
parent
90d516d42b
commit
b08b1d5d91
6 changed files with 62 additions and 33 deletions
|
|
@ -13,8 +13,8 @@ defmodule Pleroma.Web.AdminAPI.Report do
|
|||
account = User.get_cached_by_ap_id(account_ap_id)
|
||||
|
||||
statuses =
|
||||
Enum.map(status_ap_ids, fn ap_id ->
|
||||
Activity.get_by_ap_id_with_object(ap_id)
|
||||
Enum.map(status_ap_ids, fn act ->
|
||||
Activity.get_by_ap_id_with_object(act["id"])
|
||||
end)
|
||||
|
||||
%{report: report, user: user, account: account, statuses: statuses}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue