mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Remove App::app(), App::uploader(), App::api().
Also use Auth() instead of AuthSession::Current*().
This commit is contained in:
@@ -293,5 +293,5 @@ void PhotoCropBox::sendPhoto() {
|
||||
}
|
||||
|
||||
void PhotoCropBox::onReady(const QImage &tosend) {
|
||||
App::app()->uploadProfilePhoto(tosend, _peerId);
|
||||
Messenger::Instance().uploadProfilePhoto(tosend, _peerId);
|
||||
}
|
||||
|
Reference in New Issue
Block a user