2
0
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:
John Preston
2016-10-19 11:59:19 +03:00
parent 48a20f0e71
commit 40fc7379bc
9 changed files with 38 additions and 6 deletions

View File

@@ -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()) {