summary refs log tree commit diff
path: root/src/encryption/DeviceVerificationFlow.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-06-17 22:03:54 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-06-17 22:03:54 +0200
commit8cdfbf9391be01be8e52c7747482b336cefdfb27 (patch)
treed6948059fc684079f6d0ffaab0eac72afc65d01b /src/encryption/DeviceVerificationFlow.cpp
parentRemove remaining groups code (diff)
downloadnheko-8cdfbf9391be01be8e52c7747482b336cefdfb27.tar.xz
Get rid of 'using json = nlohmann::json'
Diffstat (limited to 'src/encryption/DeviceVerificationFlow.cpp')
-rw-r--r--src/encryption/DeviceVerificationFlow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/encryption/DeviceVerificationFlow.cpp b/src/encryption/DeviceVerificationFlow.cpp

index 098347cd..fa06fba2 100644 --- a/src/encryption/DeviceVerificationFlow.cpp +++ b/src/encryption/DeviceVerificationFlow.cpp
@@ -267,7 +267,7 @@ DeviceVerificationFlow::DeviceVerificationFlow(QObject *, // verified it for (const auto &mac : msg.mac) { if (their_keys.master_keys.keys.count(mac.first)) { - json j = their_keys.master_keys; + nlohmann::json j = their_keys.master_keys; j.erase("signatures"); j.erase("unsigned"); mtx::crypto::CrossSigningKeys master_key = @@ -283,7 +283,7 @@ DeviceVerificationFlow::DeviceVerificationFlow(QObject *, auto device_id = this->deviceId.toStdString(); if (their_keys.device_keys.count(device_id)) { - json j = their_keys.device_keys.at(device_id); + nlohmann::json j = their_keys.device_keys.at(device_id); j.erase("signatures"); j.erase("unsigned"); @@ -305,7 +305,7 @@ DeviceVerificationFlow::DeviceVerificationFlow(QObject *, // Sign their master key with user signing key for (const auto &mac : msg.mac) { if (their_keys.master_keys.keys.count(mac.first)) { - json j = their_keys.master_keys; + nlohmann::json j = their_keys.master_keys; j.erase("signatures"); j.erase("unsigned");