Silence warning.

GitOrigin-RevId: 1873c21e6e31a39c4d24bbd0f1dec099a2ec466b
This commit is contained in:
levlam 2019-06-02 03:01:35 +03:00
parent e164355af3
commit b7f0df977d

View File

@ -23852,10 +23852,10 @@ void MessagesManager::force_create_dialog(DialogId dialog_id, const char *source
if (!have_dialog_info(dialog_id)) {
LOG(ERROR) << "Have no info about " << dialog_id << " received from " << source << ", but forced to create it";
} else {
LOG_IF(ERROR, Slice(source) != Slice("message forward info") &&
Slice(source) != Slice("on_new_callback_query") &&
Slice(source) != Slice("search public dialog") &&
Slice(source) != Slice("create new secret chat") && !force_update_dialog_pos)
LOG_IF(ERROR,
Slice(source) != Slice("message forward info") && Slice(source) != Slice("message forward from info") &&
Slice(source) != Slice("on_new_callback_query") && Slice(source) != Slice("search public dialog") &&
Slice(source) != Slice("create new secret chat") && !force_update_dialog_pos)
<< "Have no access to " << dialog_id << " received from " << source << ", but forced to create it";
}
}