mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-24 02:02:19 +00:00
Treat any present value in "no_attachment_links" as true
This commit is contained in:
parent
922abcda61
commit
838c024231
|
@ -89,7 +89,7 @@ defmodule Pleroma.Web.CommonAPI.Utils do
|
|||
) do
|
||||
status
|
||||
|> format_input(mentions, tags, content_type)
|
||||
|> maybe_add_attachments(attachments, no_attachment_links)
|
||||
|> maybe_add_attachments(attachments, !!no_attachment_links)
|
||||
end
|
||||
|
||||
def make_context(%Activity{data: %{"context" => context}}), do: context
|
||||
|
|
Loading…
Reference in a new issue