diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp index 4686b0f53a28c91898211b8ac9df525f35d5d284..06d88303228612648eaee45bfaef55f24c93648b 100644 --- a/src/ChatPage.cpp +++ b/src/ChatPage.cpp @@ -1269,7 +1269,7 @@ ChatPage::getBackupVersion() nhlog::crypto()->info("Our backup key {} does not match the one " "used in the online backup {}", pubkey, - auth_data["public_key"]); + auth_data["public_key"].get<std::string>()); cache::client()->deleteBackupVersion(); return; }