mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 23:15:59 +00:00
Remove locally saved empty histories.
This commit is contained in:
@@ -1426,7 +1426,6 @@ void InnerWidget::removeDialog(Key key) {
|
||||
session().data().removeChatListEntry(key);
|
||||
if (const auto history = key.history()) {
|
||||
session().notifications().clearFromHistory(history);
|
||||
Local::removeSavedPeer(history->peer);
|
||||
}
|
||||
const auto i = ranges::find(_filterResults, key, &Row::key);
|
||||
if (i != _filterResults.end()) {
|
||||
|
Reference in New Issue
Block a user