aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--lib/pleroma/web/common_api/utils.ex1
2 files changed, 0 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b7ca47949..49c0ffdb1 100644
--- 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
index ae133b54f..1c74ea787 100644
--- 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]