mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fix crash in notifications clearing.
This commit is contained in:
@@ -192,7 +192,7 @@ void Manager::showNextFromQueue() {
|
||||
return;
|
||||
}
|
||||
int count = Core::App().settings().notificationsCount();
|
||||
for_const (auto ¬ification, _notifications) {
|
||||
for (const auto ¬ification : _notifications) {
|
||||
if (notification->isUnlinked()) continue;
|
||||
--count;
|
||||
}
|
||||
|
Reference in New Issue
Block a user