Skip to content
Snippets Groups Projects
Commit c3655d1c authored by dtluna's avatar dtluna
Browse files

Remove unnecessary status_update definition

parent 42105497
Branches
Tags
No related merge requests found
......@@ -12,10 +12,6 @@ defmodule Pleroma.Web.TwitterAPI.Controller do
|> json_reply(200, response)
end
def status_update(conn, %{"status" => ""} = _status_data) do
empty_status_reply(conn)
end
def status_update(%{assigns: %{user: user}} = conn, %{"status" => status_text} = status_data) do
if status_text |> String.trim |> String.length != 0 do
media_ids = extract_media_ids(status_data)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment