Add debug logging.

GitOrigin-RevId: 0efe2f3134b351d633d2df5e78791a07e212cf82
This commit is contained in:
levlam 2018-01-31 15:06:19 +03:00
parent d5d78dd1d3
commit 04e3bfaf50

View File

@ -2832,7 +2832,7 @@ class GetNotifySettingsQuery : public Td::ResultHandler {
void send(NotificationSettingsScope scope) {
scope_ = scope;
auto input_notify_peer = td->messages_manager_->get_input_notify_peer(scope);
CHECK(input_notify_peer != nullptr);
CHECK(input_notify_peer != nullptr) << scope;
send_query(G()->net_query_creator().create(
create_storer(telegram_api::account_getNotifySettings(std::move(input_notify_peer)))));
}