diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-03-07 08:28:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-07 08:28:52 +0100 |
commit | cfa9b6e13ab3c434f3901df6f614d0aa94a3d1ed (patch) | |
tree | e303778680cdd80ad5a31ec5fb3b28ba5dc834ef /app/lib | |
parent | e26d5ca923353c9cd61073c444c0841bae4b9664 (diff) |
Remove text requirement when media attached from statuses (#6672)
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/formatter.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/lib/formatter.rb b/app/lib/formatter.rb index 8c0f8cebc..1df4ff8d4 100644 --- a/app/lib/formatter.rb +++ b/app/lib/formatter.rb @@ -19,6 +19,8 @@ class Formatter raw_content = status.text + return '' if raw_content.blank? + unless status.local? html = reformat(raw_content) html = encode_custom_emojis(html, status.emojis) if options[:custom_emojify] |