mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Added preload of stickers in touchbar.
This commit is contained in:
@@ -895,6 +895,9 @@ void AppendEmojiPacks(std::vector<PickerScrubberItem> &to) {
|
||||
Auth().data().chatsListChanges(
|
||||
) | rpl::start_with_next([=] {
|
||||
if (const auto window = App::wnd()) {
|
||||
if (!Auth().data().stickerSets().size()) {
|
||||
Auth().api().updateStickers();
|
||||
}
|
||||
if (const auto controller = window->sessionController()) {
|
||||
_lifetimeSessionControllerChecker.destroy();
|
||||
controller->activeChatChanges(
|
||||
|
Reference in New Issue
Block a user