Merge branch 'hotfix/null-content' into 'develop'

Fix text being nullable in TwitterAPI

See merge request 
This commit is contained in:
rinpatch 2019-03-22 21:17:00 +00:00
commit 8b18955a59

View file

@ -266,6 +266,8 @@ def render(
content
|> String.replace(~r/<br\s?\/?>/, "\n")
|> HTML.get_cached_stripped_html_for_object(activity, __MODULE__)
else
""
end
reply_parent = Activity.get_in_reply_to_activity(activity)