From: href Date: Wed, 6 Feb 2019 17:42:19 +0000 (+0100) Subject: Fix if clause in activity_pub user_view X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=f753043ce03c71c536b2f1d2fcc3a1304ec3efa3;p=akkoma Fix if clause in activity_pub user_view --- 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