- if Pleroma.Config.get!([:instance, :public]) do
- Pleroma.Config.get([__MODULE__, :providers], [])
+ unless Pleroma.Config.restrict_unauthenticated_access?(:activities, :local) do
+ [Pleroma.Web.Metadata.Providers.Feed | Pleroma.Config.get([__MODULE__, :providers], [])]