Remove text requirement when media attached from statuses (#6672)
This commit is contained in:
parent
e26d5ca923
commit
cfa9b6e13a
8 changed files with 28 additions and 18 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue