mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Remove MTP::MainInstance() global access point.
This commit is contained in:
@@ -229,7 +229,7 @@ StickerSetBox::Inner::Inner(
|
||||
const MTPInputStickerSet &set)
|
||||
: RpWidget(parent)
|
||||
, _controller(controller)
|
||||
, _api(_controller->session().api().instance())
|
||||
, _api(_controller->session().mtp())
|
||||
, _input(set)
|
||||
, _previewTimer([=] { showPreview(); }) {
|
||||
set.match([&](const MTPDinputStickerSetID &data) {
|
||||
|
Reference in New Issue
Block a user