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
CHANGELOG.md
lib/pleroma/web/common_api

View 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.

View file

@ -66,7 +66,6 @@ def get_to_and_cc(%{in_reply_to_conversation: %Participation{} = participation})
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]