From: feld Date: Thu, 31 Dec 2020 15:55:44 +0000 (+0000) Subject: Apply 1 suggestion(s) to 1 file(s) X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=2aa60e7592104553fb5c330e8aafeaf4a21f1910;p=akkoma Apply 1 suggestion(s) to 1 file(s) --- diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index 68494f047..15f298bb8 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -605,7 +605,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do pagination_type = cond do - is_nil(params[:offset]) -> :keyset + !Map.has_key?(params, :offset) -> :keyset true -> :offset end