Add a worker to fetch new replies to known messages. #481

Closed
Ghost wants to merge 2 commits from (deleted):develop into develop
Showing only changes of commit 8988590fcb - Show all commits

View file

@ -53,6 +53,12 @@ defp objects_from_collection(%{"type" => type, "first" => %{"id" => id}})
fetch_page_items(id)
end
defp objects_from_collection(%{"type" => type, "first" => %{"items" => items} = first})
when type in ["Collection", "OrderedCollection"] and is_list(items) do
maybe_next_page(first, items)
end
defp objects_from_collection(_page), do: []
defp fetch_page_items(id, items \\ []) do