mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-06 01:25:18 +00: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