Edit events fixes and update cache

This commit is contained in:
Chocobozzz
2019-09-09 11:21:42 +02:00
parent 91d1b9b81f
commit 82df0526ec
11 changed files with 202 additions and 136 deletions

View File

@@ -135,7 +135,7 @@ defmodule MobilizonWeb.API.Utils do
end
def prepare_content(actor, content, visibility, tags, in_reply_to) do
with content <- String.trim(content),
with content <- String.trim(content || ""),
{content_html, mentions, tags} <-
make_content_html(
content,