forked from AkkomaGang/akkoma
Fix formatting
This commit is contained in:
parent
0118ccb53c
commit
af3f00292c
2 changed files with 0 additions and 2 deletions
|
@ -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.
|
||||||
|
|
|
@ -66,7 +66,6 @@ def get_to_and_cc(%{in_reply_to_conversation: %Participation{} = participation})
|
||||||
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]
|
||||||
|
|
Loading…
Reference in a new issue