Fix custom emojis not detected when used in content warning (#5049)
This commit is contained in:
parent
846cd4e838
commit
9c8e602163
4 changed files with 9 additions and 3 deletions
|
@ -132,7 +132,7 @@ class Status < ApplicationRecord
|
|||
end
|
||||
|
||||
def emojis
|
||||
CustomEmoji.from_text(text, account.domain)
|
||||
CustomEmoji.from_text([spoiler_text, text].join(' '), account.domain)
|
||||
end
|
||||
|
||||
after_create :store_uri, if: :local?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue