From 65b793e06a3f215a8ba898fdeb1ea344c57ceb28 Mon Sep 17 00:00:00 2001 From: levlam Date: Sun, 29 Dec 2019 04:39:05 +0300 Subject: [PATCH] Add push notifications encryption key debug. GitOrigin-RevId: e127ea2dcc17bc76a4e01aa7ea7230ca53a95dad --- td/telegram/NotificationManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/td/telegram/NotificationManager.cpp b/td/telegram/NotificationManager.cpp index 2ef6dc6d7..9e99f064c 100644 --- a/td/telegram/NotificationManager.cpp +++ b/td/telegram/NotificationManager.cpp @@ -2647,6 +2647,7 @@ void NotificationManager::process_push_notification(string payload, Promisedevice_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()) {