logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: af3f00292c6cb37580a6bf93d7e779316bc44c6a
parent 0118ccb53cd1f33cb91b28fc7f5b6378f2424ffc
Author: Egor Kislitsyn <egor@kislitsyn.com>
Date:   Wed, 11 Nov 2020 19:12:46 +0400

Fix formatting

Diffstat:

MCHANGELOG.md1-
Mlib/pleroma/web/common_api/utils.ex1-
2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -18,7 +18,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Account backup - Configuration: Add `:instance, autofollowing_nicknames` setting to provide a way to make accounts automatically follow new users that register on the local Pleroma instance. - ### Changed - **Breaking** Requires `libmagic` (or `file`) to guess file types. diff --git a/lib/pleroma/web/common_api/utils.ex b/lib/pleroma/web/common_api/utils.ex @@ -66,7 +66,6 @@ defmodule Pleroma.Web.CommonAPI.Utils do end def get_to_and_cc(%{visibility: visibility} = draft) when visibility in ["public", "local"] do - to = case visibility do "public" -> [Pleroma.Constants.as_public() | draft.mentions]