Fix formatting

This commit is contained in:
Egor Kislitsyn 2020-11-11 19:12:46 +04:00
parent 0118ccb53c
commit af3f00292c
No known key found for this signature in database
GPG Key ID: 1B49CB15B71E7805
2 changed files with 0 additions and 2 deletions

View File

@ -18,7 +18,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Account backup - 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. - 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 ### Changed
- **Breaking** Requires `libmagic` (or `file`) to guess file types. - **Breaking** Requires `libmagic` (or `file`) to guess file types.

View File

@ -66,7 +66,6 @@ defmodule Pleroma.Web.CommonAPI.Utils do
end end
def get_to_and_cc(%{visibility: visibility} = draft) when visibility in ["public", "local"] do def get_to_and_cc(%{visibility: visibility} = draft) when visibility in ["public", "local"] do
to = to =
case visibility do case visibility do
"public" -> [Pleroma.Constants.as_public() | draft.mentions] "public" -> [Pleroma.Constants.as_public() | draft.mentions]