From f753043ce03c71c536b2f1d2fcc3a1304ec3efa3 Mon Sep 17 00:00:00 2001 From: href Date: Wed, 6 Feb 2019 18:42:19 +0100 Subject: [PATCH] Fix if clause in activity_pub user_view --- lib/pleroma/web/activity_pub/views/user_view.ex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pleroma/web/activity_pub/views/user_view.ex b/lib/pleroma/web/activity_pub/views/user_view.ex index b9588bee5..1f6b591a5 100644 --- a/lib/pleroma/web/activity_pub/views/user_view.ex +++ b/lib/pleroma/web/activity_pub/views/user_view.ex @@ -239,6 +239,8 @@ defmodule Pleroma.Web.ActivityPub.UserView do if offset < total do Map.put(map, "next", "#{iri}?page=#{page + 1}") + else + map end end end -- 2.45.2