Remove vapidPublicKey from Nodeinfo

This commit is contained in:
Egor Kislitsyn 2020-04-23 14:12:42 +04:00
parent 94a6590e3c
commit 9cf4c4fa73
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805

View file

@ -126,8 +126,7 @@ def raw_nodeinfo do
mailerEnabled: Config.get([Pleroma.Emails.Mailer, :enabled], false), mailerEnabled: Config.get([Pleroma.Emails.Mailer, :enabled], false),
features: features, features: features,
restrictedNicknames: Config.get([Pleroma.User, :restricted_nicknames]), restrictedNicknames: Config.get([Pleroma.User, :restricted_nicknames]),
skipThreadContainment: Config.get([:instance, :skip_thread_containment], false), skipThreadContainment: Config.get([:instance, :skip_thread_containment], false)
vapidPublicKey: Keyword.get(Pleroma.Web.Push.vapid_config(), :public_key)
} }
} }
end end