mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-21 15:47:38 +00:00
parent
2bcbb5a5be
commit
59e5ffe743
@ -4097,7 +4097,9 @@ bool HistoryWidget::confirmSendingFiles(
|
||||
const auto urls = data->urls();
|
||||
for (const auto &url : urls) {
|
||||
if (url.isLocalFile()) {
|
||||
confirmSendingFiles(urls, compressed, insertTextOnCancel);
|
||||
// Don't insert list of filenames on cancel.
|
||||
const auto emptyTextOnCancel = QString();
|
||||
confirmSendingFiles(urls, compressed, emptyTextOnCancel);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user