mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 23:45:44 +00:00
version 0.7.21.dev prepared - replies, mentions
This commit is contained in:
@@ -1876,7 +1876,7 @@ void OverviewWidget::onDeleteSelectedSure() {
|
||||
}
|
||||
|
||||
if (!ids.isEmpty()) {
|
||||
MTP::send(MTPmessages_DeleteMessages(MTP_vector<MTPint>(ids)));
|
||||
App::main()->deleteMessages(ids);
|
||||
}
|
||||
|
||||
onClearSelected();
|
||||
@@ -1896,7 +1896,7 @@ void OverviewWidget::onDeleteContextSure() {
|
||||
}
|
||||
|
||||
if (item->id > 0) {
|
||||
MTP::send(MTPmessages_DeleteMessages(MTP_vector<MTPint>(1, MTP_int(item->id))));
|
||||
App::main()->deleteMessages(QVector<MTPint>(1, MTP_int(item->id)));
|
||||
}
|
||||
item->destroy();
|
||||
if (App::main() && App::main()->peer() == peer()) {
|
||||
|
Reference in New Issue
Block a user