mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-01-03 13:58:41 +00:00
Fix #strip_report_status_data
This commit is contained in:
parent
5a3b81d92e
commit
27df2c0ce6
2 changed files with 2 additions and 0 deletions
1
changelog.d/anonymous-exception-else.fix
Normal file
1
changelog.d/anonymous-exception-else.fix
Normal file
|
@ -0,0 +1 @@
|
|||
Fix #strip_report_status_data
|
|
@ -855,6 +855,7 @@ defmodule Pleroma.Web.ActivityPub.Utils do
|
|||
Enum.map(reported_activities, fn
|
||||
act when is_map(act) -> act["id"]
|
||||
act when is_binary(act) -> act
|
||||
_other -> nil
|
||||
end)
|
||||
|
||||
new_data = put_in(activity.data, ["object"], [actor | stripped_activities])
|
||||
|
|
Loading…
Reference in a new issue