settings: Add "text" option to emoji_set model.

We no longer have a special UI setting and model
field ("emoji_alt_code") for saying users want text-only
emojis.  We now instead make "text" be a fifth choice
for "emojiset".

Fixes #7406
This commit is contained in:
Aastha Gupta
2018-01-02 17:32:13 +05:30
committed by Steve Howell
parent 5ff84e97b5
commit daf86eb664
14 changed files with 74 additions and 80 deletions

View File

@@ -166,7 +166,7 @@ set_global('current_msg_list', {
count: 1,
user_ids: [7],
title: 'Cali reacted with :frown:',
emoji_alt_code: undefined,
emoji_alt_code: false,
class: 'message_reaction',
},
{
@@ -177,7 +177,7 @@ set_global('current_msg_list', {
count: 1,
user_ids: [5],
title: 'You (click to remove) reacted with :inactive_realm_emoji:',
emoji_alt_code: undefined,
emoji_alt_code: false,
is_realm_emoji: true,
url: 'TBD',
class: 'message_reaction reacted',
@@ -190,7 +190,7 @@ set_global('current_msg_list', {
count: 2,
user_ids: [5, 6],
title: 'You (click to remove) and Bob van Roberts reacted with :smile:',
emoji_alt_code: undefined,
emoji_alt_code: false,
class: 'message_reaction reacted',
},
];