Remove vapidPublicKey from Nodeinfo
authorEgor Kislitsyn <egor@kislitsyn.com>
Thu, 23 Apr 2020 10:12:42 +0000 (14:12 +0400)
committerEgor Kislitsyn <egor@kislitsyn.com>
Thu, 23 Apr 2020 10:12:42 +0000 (14:12 +0400)
lib/pleroma/web/nodeinfo/nodeinfo_controller.ex

index 6947c82b97cb488669d3cb19a39e8d8b2d4be85b..c90d4c0099a626961f79758af3819ddfa286cf20 100644 (file)
@@ -126,8 +126,7 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do
         mailerEnabled: Config.get([Pleroma.Emails.Mailer, :enabled], false),
         features: features,
         restrictedNicknames: Config.get([Pleroma.User, :restricted_nicknames]),
-        skipThreadContainment: Config.get([:instance, :skip_thread_containment], false),
-        vapidPublicKey: Keyword.get(Pleroma.Web.Push.vapid_config(), :public_key)
+        skipThreadContainment: Config.get([:instance, :skip_thread_containment], false)
       }
     }
   end