From 7685047186f1c3030f76b699c722cabc828f735b Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 14 Jul 2020 02:31:32 +0300 Subject: [PATCH] Add default support for Soccer dice. GitOrigin-RevId: aa67796f72b62ede966a67004f8a3d517f372789 --- td/telegram/StickersManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/td/telegram/StickersManager.cpp b/td/telegram/StickersManager.cpp index c5247bb80..e5bd1d469 100644 --- a/td/telegram/StickersManager.cpp +++ b/td/telegram/StickersManager.cpp @@ -1161,7 +1161,7 @@ void StickersManager::init() { animated_emoji_sticker_set.short_name_); } - dice_emojis_str_ = G()->shared_config().get_option_string("dice_emojis", "🎲\x01🎯\x01🏀"); + dice_emojis_str_ = G()->shared_config().get_option_string("dice_emojis", "🎲\x01🎯\x01🏀\x01⚽\x01⚽️"); dice_emojis_ = full_split(dice_emojis_str_, '\x01'); for (auto &dice_emoji : dice_emojis_) { auto &animated_dice_sticker_set = add_special_sticker_set(SpecialStickerSetType::animated_dice(dice_emoji)); @@ -3445,7 +3445,7 @@ void StickersManager::on_update_dice_emojis() { return; } - auto dice_emojis_str = G()->shared_config().get_option_string("dice_emojis", "🎲\x01🎯\x01🏀"); + auto dice_emojis_str = G()->shared_config().get_option_string("dice_emojis", "🎲\x01🎯\x01🏀\x01⚽\x01⚽️"); if (dice_emojis_str == dice_emojis_str_) { return; } @@ -3479,7 +3479,7 @@ void StickersManager::on_update_dice_success_values() { return; } - auto dice_success_values_str = G()->shared_config().get_option_string("dice_success_values", "0,0,0"); + auto dice_success_values_str = G()->shared_config().get_option_string("dice_success_values", "0,6:62,5:110,0,0"); if (dice_success_values_str == dice_success_values_str_) { return; }