Fix #strip_report_status_data
This commit is contained in:
parent
5a3b81d92e
commit
27df2c0ce6
|
@ -0,0 +1 @@
|
||||||
|
Fix #strip_report_status_data
|
|
@ -855,6 +855,7 @@ def strip_report_status_data(activity) do
|
||||||
Enum.map(reported_activities, fn
|
Enum.map(reported_activities, fn
|
||||||
act when is_map(act) -> act["id"]
|
act when is_map(act) -> act["id"]
|
||||||
act when is_binary(act) -> act
|
act when is_binary(act) -> act
|
||||||
|
_other -> nil
|
||||||
end)
|
end)
|
||||||
|
|
||||||
new_data = put_in(activity.data, ["object"], [actor | stripped_activities])
|
new_data = put_in(activity.data, ["object"], [actor | stripped_activities])
|
||||||
|
|
Loading…
Reference in New Issue