Fix warning.

GitOrigin-RevId: 220da64c77eb25f99fa620ff72065a31d0674117
This commit is contained in:
levlam 2018-03-14 21:48:36 +03:00
parent 0b54ca677b
commit 23cd9f656f

View File

@ -16216,8 +16216,8 @@ void MessagesManager::on_secret_message_media_uploaded(DialogId dialog_id, Messa
// even message has already been deleted // even message has already been deleted
on_media_message_ready_to_send( on_media_message_ready_to_send(
dialog_id, m->message_id, dialog_id, m->message_id,
PromiseCreator::lambda([this, dialog_id, secret_input_media = std::move(secret_input_media), file_id, PromiseCreator::lambda(
thumbnail_file_id](Result<Message *> result) mutable { [this, dialog_id, secret_input_media = std::move(secret_input_media)](Result<Message *> result) mutable {
if (result.is_error() || G()->close_flag()) { if (result.is_error() || G()->close_flag()) {
return; return;
} }