2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Init edit media.

This commit is contained in:
23rd
2019-03-24 15:39:19 +03:00
committed by John Preston
parent db631acf80
commit be58e23775
10 changed files with 265 additions and 10 deletions

View File

@@ -975,6 +975,9 @@ void FileLoadTask::finish() {
lng_send_image_too_large(lt_name, _filepath)),
LayerOption::KeepOther);
removeFromAlbum();
} else if (App::main()->getEditMedia()) {
LOG(("FINISH UPLOAD EDIT"));
App::main()->onEditMedia(_result, App::main()->getEditMedia());
} else if (App::main()) {
App::main()->onSendFileConfirm(_result);
}