Fix #strip_report_status_data
This commit is contained in:
parent
5a3b81d92e
commit
27df2c0ce6
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 New Issue
Block a user