0
0
Fork 0

Remove text requirement when media attached from statuses (#6672)

This commit is contained in:
Eugen Rochko 2018-03-07 08:28:52 +01:00 committed by GitHub
parent e26d5ca923
commit cfa9b6e13a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 28 additions and 18 deletions

View file

@ -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]