summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfeld <feld@feld.me>2020-12-31 15:55:44 +0000
committerMark Felder <feld@feld.me>2020-12-31 09:58:43 -0600
commit2aa60e7592104553fb5c330e8aafeaf4a21f1910 (patch)
treea7d1c49822a58fe9217d90d228a6ce580fa6e362
parent2597b028f797c74eb16e7cd5bfc251dfe03ad934 (diff)
Apply 1 suggestion(s) to 1 file(s)
-rw-r--r--lib/pleroma/web/activity_pub/activity_pub.ex2
1 files changed, 1 insertions, 1 deletions
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