Do not make RelMe metadata provider optional.

There's really no sound reason to turn this off anyway.
This commit is contained in:
Mark Felder 2020-08-31 14:19:48 -05:00 committed by rinpatch
parent 947ee55ae2
commit 630444ee08
2 changed files with 2 additions and 2 deletions

View file

@ -455,7 +455,6 @@ config :pleroma, Pleroma.Web.Metadata,
providers: [ providers: [
Pleroma.Web.Metadata.Providers.OpenGraph, Pleroma.Web.Metadata.Providers.OpenGraph,
Pleroma.Web.Metadata.Providers.TwitterCard, Pleroma.Web.Metadata.Providers.TwitterCard,
Pleroma.Web.Metadata.Providers.RelMe,
Pleroma.Web.Metadata.Providers.Feed Pleroma.Web.Metadata.Providers.Feed
], ],
unfurl_nsfw: false unfurl_nsfw: false

View file

@ -7,7 +7,8 @@ defmodule Pleroma.Web.Metadata do
def build_tags(params) do def build_tags(params) do
providers = [ providers = [
Pleroma.Web.Metadata.Providers.RestrictIndexing Pleroma.Web.Metadata.Providers.RestrictIndexing,
Pleroma.Web.Metadata.Providers.RelMe,
| Pleroma.Config.get([__MODULE__, :providers], []) | Pleroma.Config.get([__MODULE__, :providers], [])
] ]