projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c50831
)
Revert to original formatting for these function defs
author
Mark Felder
<feld@feld.me>
Thu, 11 Feb 2021 20:22:58 +0000
(14:22 -0600)
committer
Mark Felder
<feld@feld.me>
Thu, 11 Feb 2021 20:24:51 +0000
(14:24 -0600)
lib/pleroma/web/mastodon_api/controllers/status_controller.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/mastodon_api/controllers/status_controller.ex
b/lib/pleroma/web/mastodon_api/controllers/status_controller.ex
index a54357f93874e1abd77c4cea7e0aeda98fc26e2c..c8f6a299474df165016f1e664018ca277b535ea7 100644
(file)
--- a/
lib/pleroma/web/mastodon_api/controllers/status_controller.ex
+++ b/
lib/pleroma/web/mastodon_api/controllers/status_controller.ex
@@
-163,10
+163,7
@@
defmodule Pleroma.Web.MastodonAPI.StatusController do
end
# Creates a regular status
- def create(
- %{assigns: %{user: user}, body_params: %{status: _} = params} = conn,
- _
- ) do
+ def create(%{assigns: %{user: user}, body_params: %{status: _} = params} = conn, _) do
params =
Map.put(params, :in_reply_to_status_id, params[:in_reply_to_id])
|> put_application(conn)