mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fixed several bugs appearing on logout-login in player and messages.
This commit is contained in:
@@ -975,6 +975,9 @@ void HistoryInner::itemRemoved(HistoryItem *item) {
|
||||
if (_history != item->history() && _migrated != item->history()) {
|
||||
return;
|
||||
}
|
||||
if (!App::main()) {
|
||||
return;
|
||||
}
|
||||
|
||||
auto i = _selected.find(item);
|
||||
if (i != _selected.cend()) {
|
||||
|
Reference in New Issue
Block a user