Fix #strip_report_status_data #665
1 changed files with 1 additions and 0 deletions
|
@ -811,6 +811,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 a new issue