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