mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-03 02:33:23 +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