Add CHECK for correct init order.
GitOrigin-RevId: 488c507c51f42c9e40a09e553134c96aa5b794b5
This commit is contained in:
parent
1d55e08fe4
commit
33de10f288
@ -17858,6 +17858,7 @@ vector<NotificationGroupKey> MessagesManager::get_message_notification_group_key
|
|||||||
if (!G()->parameters().use_message_db) {
|
if (!G()->parameters().use_message_db) {
|
||||||
return {};
|
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 "
|
VLOG(notifications) << "Trying to load " << limit << " message notification groups from database from "
|
||||||
<< from_group_key;
|
<< from_group_key;
|
||||||
|
Reference in New Issue
Block a user