2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-12 21:10:47 +08:00

FIX: Show emoji in inline oneboxes

This commit is contained in:
Robin Ward 2017-07-21 14:24:28 -04:00
parent c2db2c5c78
commit 574681dc47
7 changed files with 25 additions and 9 deletions

View file

@ -426,7 +426,7 @@ class UserNotifications < ActionMailer::Base
end

email_opts = {
topic_title: gsub_emoji_to_unicode(title),
topic_title: Emoji.gsub_emoji_to_unicode(title),
topic_title_url_encoded: title ? URI.encode(title) : title,
message: message,
url: post.url(without_slug: SiteSetting.private_email?),