mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
@@ -416,11 +416,12 @@ void History::destroyMessage(not_null<HistoryItem*> item) {
|
||||
types,
|
||||
item->id));
|
||||
}
|
||||
} else {
|
||||
session().api().cancelLocalItem(item);
|
||||
}
|
||||
itemRemoved(item);
|
||||
}
|
||||
if (item->isSending()) {
|
||||
session().api().cancelLocalItem(item);
|
||||
}
|
||||
|
||||
owner().unregisterMessage(item);
|
||||
Core::App().notifications().clearFromItem(item);
|
||||
|
Reference in New Issue
Block a user