Remove AutoLinker scheme option from the config

This commit is contained in:
Egor Kislitsyn 2020-02-05 21:13:56 +04:00
commit 3909b5b7b3
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
3 changed files with 2 additions and 7 deletions

View file

@ -13,7 +13,8 @@ defmodule Pleroma.Formatter do
@auto_linker_config hashtag: true,
hashtag_handler: &Pleroma.Formatter.hashtag_handler/4,
mention: true,
mention_handler: &Pleroma.Formatter.mention_handler/4
mention_handler: &Pleroma.Formatter.mention_handler/4,
scheme: true
def escape_mention_handler("@" <> nickname = mention, buffer, _, _) do
case User.get_cached_by_nickname(nickname) do