mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Optimize emoji / stickers update requests.
This commit is contained in:
@@ -399,7 +399,9 @@ TabbedSelector::TabbedSelector(
|
||||
|
||||
rpl::merge(
|
||||
session().premiumPossibleValue() | rpl::to_empty,
|
||||
session().data().stickers().updated()
|
||||
session().data().stickers().updated(hasMasksTab()
|
||||
? Data::StickersType::Masks
|
||||
: Data::StickersType::Stickers)
|
||||
) | rpl::start_with_next([=] {
|
||||
refreshStickers();
|
||||
}, lifetime());
|
||||
|
Reference in New Issue
Block a user