2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Check shortcuts / messages limits.

This commit is contained in:
John Preston
2024-03-01 12:29:03 +04:00
parent dd6768a476
commit ca4cbddba6
11 changed files with 253 additions and 51 deletions

View File

@@ -114,10 +114,7 @@ std::optional<EmojiSection> SetIdEmojiSection(uint64 id) {
rpl::producer<std::vector<GifSection>> GifSectionsValue(
not_null<Main::Session*> session) {
const auto config = &session->account().appConfig();
return rpl::single(
rpl::empty_value()
) | rpl::then(
config->refreshed()
return config->value(
) | rpl::map([=] {
return config->get<std::vector<QString>>(
u"gif_search_emojies"_q,