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

FEATURE: Allow <3 and ❤ to trigger like via email (#4310)

This commit is contained in:
James Kiesel 2016-07-05 09:59:23 -04:00 committed by Régis Hanol
parent f256e3afb6
commit 949be591da

View file

@ -382,7 +382,7 @@ module Email
end end
def likes def likes
@likes ||= Set.new ["+1", I18n.t('post_action_types.like.title').downcase] @likes ||= Set.new ["+1", "<3", "", I18n.t('post_action_types.like.title').downcase]
end end
def subscription_action_for(body, subject) def subscription_action_for(body, subject)