mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Fix sending files in scheduled messages.
This commit is contained in:
parent
68041d2ffb
commit
77894d1445
3 changed files with 4 additions and 4 deletions
|
@ -4255,7 +4255,7 @@ void HistoryWidget::sendingFilesConfirmed(
|
|||
base::take(caption),
|
||||
album,
|
||||
action);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
bool HistoryWidget::confirmSendingFiles(
|
||||
|
|
|
@ -685,7 +685,7 @@ void RepliesWidget::sendingFilesConfirmed(
|
|||
base::take(caption),
|
||||
album,
|
||||
action);
|
||||
};
|
||||
}
|
||||
if (_composeControls->replyingToMessage().msg == replyTo) {
|
||||
_composeControls->cancelReplyMessage();
|
||||
}
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue