2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-03 08:05:12 +00:00

Reapply "Remove SendMediaReady legacy helper."

This reverts commit 09f07a7a9d.
This commit is contained in:
John Preston
2024-04-04 18:36:48 +04:00
parent 690d52f7bc
commit b39e78a4a9
16 changed files with 183 additions and 354 deletions

View File

@@ -353,7 +353,7 @@ void FillMessagePostFlags(
void SendConfirmedFile(
not_null<Main::Session*> session,
const std::shared_ptr<FileLoadResult> &file) {
const std::shared_ptr<FilePrepareResult> &file) {
const auto isEditing = (file->type != SendMediaType::Audio)
&& (file->to.replaceMediaOf != 0);
const auto newId = FullMsgId(