mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Init edit media.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user