mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
pausing of mtp while animating, fixed message field while animating
This commit is contained in:
@@ -296,6 +296,14 @@ void Application::cancelPhotoUpdate(const PeerId &peer) {
|
||||
}
|
||||
}
|
||||
|
||||
void Application::mtpUnpause() {
|
||||
QTimer::singleShot(1, this, SLOT(doMtpUnpause()));
|
||||
}
|
||||
|
||||
void Application::doMtpUnpause() {
|
||||
MTP::unpause();
|
||||
}
|
||||
|
||||
void Application::selfPhotoCleared(const MTPUserProfilePhoto &result) {
|
||||
if (!App::self()) return;
|
||||
App::self()->setPhoto(result);
|
||||
|
||||
Reference in New Issue
Block a user