Add CHECK for correct init order.

GitOrigin-RevId: 488c507c51f42c9e40a09e553134c96aa5b794b5
This commit is contained in:
levlam 2018-12-25 06:07:29 +03:00
parent 1d55e08fe4
commit 33de10f288

View File

@ -17858,6 +17858,7 @@ vector<NotificationGroupKey> MessagesManager::get_message_notification_group_key
if (!G()->parameters().use_message_db) {
return {};
}
CHECK(start_time_ != 0); // ensure that MessagesManager was already inited in start_up
VLOG(notifications) << "Trying to load " << limit << " message notification groups from database from "
<< from_group_key;