Fix sending files in scheduled messages.

This commit is contained in:
John Preston 2020-10-22 16:09:00 +03:00
parent 68041d2ffb
commit 77894d1445
3 changed files with 4 additions and 4 deletions

View file

@ -4255,7 +4255,7 @@ void HistoryWidget::sendingFilesConfirmed(
base::take(caption),
album,
action);
};
}
}
bool HistoryWidget::confirmSendingFiles(

View file

@ -685,7 +685,7 @@ void RepliesWidget::sendingFilesConfirmed(
base::take(caption),
album,
action);
};
}
if (_composeControls->replyingToMessage().msg == replyTo) {
_composeControls->cancelReplyMessage();
}

View file

@ -419,12 +419,12 @@ void ScheduledWidget::sendingFilesConfirmed(
? std::make_shared<SendingAlbum>()
: nullptr;
session().api().sendFiles(
std::move(list),
std::move(group.list),
type,
base::take(caption),
album,
action);
};
}
}
bool ScheduledWidget::confirmSendingFiles(