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: [
Pleroma.Web.Metadata.Providers.OpenGraph,
Pleroma.Web.Metadata.Providers.TwitterCard,
Pleroma.Web.Metadata.Providers.RelMe,
Pleroma.Web.Metadata.Providers.Feed
],
unfurl_nsfw: false

View File

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