Fix #strip_report_status_data

This commit is contained in:
NEETzsche 2023-11-27 03:34:31 -07:00 committed by Lain Soykaf
parent 5a3b81d92e
commit 27df2c0ce6
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
Fix #strip_report_status_data

View File

@ -855,6 +855,7 @@ def strip_report_status_data(activity) 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])