Add push notifications encryption key debug.

GitOrigin-RevId: e127ea2dcc17bc76a4e01aa7ea7230ca53a95dad
This commit is contained in:
levlam 2019-12-29 04:39:05 +03:00
parent 24139cabab
commit 65b793e06a

View File

@ -2647,6 +2647,7 @@ void NotificationManager::process_push_notification(string payload, Promise<Unit
auto encryption_keys = td_->device_token_manager_->get_actor_unsafe()->get_encryption_keys();
bool was_encrypted = false;
for (auto &key : encryption_keys) {
VLOG(notifications) << "Have key " << key.first;
// VLOG(notifications) << "Have key " << key.first << ": \"" << format::escaped(key.second) << '"';
if (key.first == receiver_id) {
if (!key.second.empty()) {