mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 00:55:12 +00:00
Show local sending messages in replies section.
This commit is contained in:
@@ -709,8 +709,9 @@ void MainWidget::cancelUploadLayer(not_null<HistoryItem*> item) {
|
||||
auto &data = session().data();
|
||||
if (const auto item = data.message(itemId)) {
|
||||
if (!item->isEditingMedia()) {
|
||||
const auto history = item->history();
|
||||
item->destroy();
|
||||
item->history()->requestChatListMessage();
|
||||
history->requestChatListMessage();
|
||||
} else {
|
||||
item->returnSavedMedia();
|
||||
session().uploader().cancel(item->fullId());
|
||||
|
Reference in New Issue
Block a user