mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-29 00:39:55 +00:00
Remove MTP::MainInstance() global access point.
This commit is contained in:
@@ -649,7 +649,7 @@ void Updates::getChannelDifference(
|
||||
}
|
||||
|
||||
void Updates::sendPing() {
|
||||
api().instance()->ping();
|
||||
_session->mtp()->ping();
|
||||
}
|
||||
|
||||
void Updates::addActiveChat(rpl::producer<PeerData*> chat) {
|
||||
|
||||
Reference in New Issue
Block a user