2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Moved stickerSetInstalled from ApiWrap to Data::Stickers.

This commit is contained in:
23rd
2021-03-30 01:28:19 +03:00
parent 7e04bf9533
commit 8d62800e77
6 changed files with 18 additions and 13 deletions

View File

@@ -192,7 +192,8 @@ void StickerSetBox::prepare() {
if (_inner->isMasksSet()) {
Ui::Toast::Show(tr::lng_masks_installed(tr::now));
} else {
_controller->session().api().stickerSetInstalled(setId);
auto &stickers = _controller->session().data().stickers();
stickers.notifyStickerSetInstalled(setId);
}
closeBox();
}, lifetime());