Fix formatting
authorEgor Kislitsyn <egor@kislitsyn.com>
Wed, 11 Nov 2020 15:12:46 +0000 (19:12 +0400)
committerEgor Kislitsyn <egor@kislitsyn.com>
Wed, 11 Nov 2020 15:12:46 +0000 (19:12 +0400)
CHANGELOG.md
lib/pleroma/web/common_api/utils.ex

index b7ca479494bc4f1342a4a820345f89ef0ada0d72..49c0ffdb1d9996dc45507af2f4d6287545c33f23 100644 (file)
@@ -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.
index ae133b54f74afc913cbb2b552c636033a9697403..1c74ea7875760355cbfc4baf7c0a58bf7bfb69a2 100644 (file)
@@ -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]