projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2597b02
)
Apply 1 suggestion(s) to 1 file(s)
author
feld
<feld@feld.me>
Thu, 31 Dec 2020 15:55:44 +0000
(15:55 +0000)
committer
Mark Felder
<feld@feld.me>
Thu, 31 Dec 2020 15:58:43 +0000
(09:58 -0600)
lib/pleroma/web/activity_pub/activity_pub.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/activity_pub.ex
b/lib/pleroma/web/activity_pub/activity_pub.ex
index 68494f04708a18948d940c512a097ef99c77f1c9..15f298bb824e2df77cc2718b3c27888fde2f5679 100644
(file)
--- 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