diff --git a/td/telegram/NotificationManager.cpp b/td/telegram/NotificationManager.cpp index 0ca6a039..126d6972 100644 --- a/td/telegram/NotificationManager.cpp +++ b/td/telegram/NotificationManager.cpp @@ -119,9 +119,8 @@ void NotificationManager::start_up() { on_notification_cloud_delay_changed(); on_notification_default_delay_changed(); + last_loaded_notification_group_key_.last_notification_date = std::numeric_limits::max(); if (max_notification_group_count_ != 0) { - last_loaded_notification_group_key_.last_notification_date = std::numeric_limits::max(); - int32 loaded_groups = 0; int32 needed_groups = static_cast(max_notification_group_count_); do {