Remove variation selector-15 from emoji just in case.

GitOrigin-RevId: 843a05314c7f993963d721b7c149a0a37d0531ac
This commit is contained in:
levlam 2018-02-08 14:42:59 +03:00
parent 6618f507bf
commit 607a485bdf

View File

@ -3802,7 +3802,8 @@ vector<string> StickersManager::get_sticker_emojis(const tl_object_ptr<td_api::I
}
string StickersManager::remove_emoji_modifiers(string emoji) {
static Slice modifiers[] = {u8"\uFE0F" /* variation selector-16 */,
static Slice modifiers[] = {u8"\uFE0E" /* variation selector-15 */,
u8"\uFE0F" /* variation selector-16 */,
u8"\u200D\u2640" /* zero width joiner + female sign */,
u8"\u200D\u2642" /* zero width joiner + male sign */,
u8"\U0001F3FB" /* emoji modifier fitzpatrick type-1-2 */,