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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user