mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-25 18:36:21 +00:00
Remove some noise.
This commit is contained in:
parent
9c89916969
commit
486e205810
|
@ -25,7 +25,6 @@ defmodule Pleroma.Web.MastodonAPI.MastodonSocket do
|
||||||
def id(_), do: nil
|
def id(_), do: nil
|
||||||
|
|
||||||
def handle(:text, message, _state) do
|
def handle(:text, message, _state) do
|
||||||
IO.inspect message
|
|
||||||
#| :ok
|
#| :ok
|
||||||
#| state
|
#| state
|
||||||
#| {:text, message}
|
#| {:text, message}
|
||||||
|
|
|
@ -122,7 +122,6 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
|
||||||
end
|
end
|
||||||
|
|
||||||
def render("attachment.json", %{attachment: attachment}) do
|
def render("attachment.json", %{attachment: attachment}) do
|
||||||
IO.inspect(attachment)
|
|
||||||
[%{"mediaType" => media_type, "href" => href} | _] = attachment["url"]
|
[%{"mediaType" => media_type, "href" => href} | _] = attachment["url"]
|
||||||
|
|
||||||
type = cond do
|
type = cond do
|
||||||
|
|
Loading…
Reference in a new issue