From 401df0cc585b800659bff655abdbb66e4600879a Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Wed, 23 Oct 2024 16:08:24 +1300 Subject: [PATCH] nodeinfo - open registrations --- app/activitypub/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/activitypub/routes.py b/app/activitypub/routes.py index de0de540..9127d140 100644 --- a/app/activitypub/routes.py +++ b/app/activitypub/routes.py @@ -153,7 +153,7 @@ def nodeinfo2(): "localPosts": local_posts(), "localComments": local_comments() }, - "openRegistrations": g.site.registration_mode == 'Open' + "openRegistrations": g.site.registration_mode != 'Closed' } return jsonify(nodeinfo_data)