Merge branch 'hex-flake-id' into 'develop'

Replace `Pleroma.FlakeId` with `flake_id` hex package

See merge request pleroma/pleroma!1692
This commit is contained in:
kaniini 2019-09-26 02:51:54 +00:00
commit 3ff57f1fd3
25 changed files with 35 additions and 262 deletions

View file

@ -510,7 +510,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
end
@spec fetch_latest_activity_id_for_context(String.t(), keyword() | map()) ::
Pleroma.FlakeId.t() | nil
FlakeId.Ecto.CompatType.t() | nil
def fetch_latest_activity_id_for_context(context, opts \\ %{}) do
context
|> fetch_activities_for_context_query(Map.merge(%{"skip_preload" => true}, opts))