aboutsummaryrefslogtreecommitdiff
path: root/lib/encryptionmanager.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-06 20:49:17 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-07 19:47:34 +0200
commit0898550adcc5e6fe2648fcd4e181ecab9b5befea (patch)
tree7334f6717975037397160bb0bebec5f28e39baae /lib/encryptionmanager.cpp
parent4ff89aa1ec48623264944f18f97cd92115268eaf (diff)
downloadlibquotient-0898550adcc5e6fe2648fcd4e181ecab9b5befea.tar.gz
libquotient-0898550adcc5e6fe2648fcd4e181ecab9b5befea.zip
Small updates to match the new generated definitions
Diffstat (limited to 'lib/encryptionmanager.cpp')
-rw-r--r--lib/encryptionmanager.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/encryptionmanager.cpp b/lib/encryptionmanager.cpp
index 0895fae9..c50459f3 100644
--- a/lib/encryptionmanager.cpp
+++ b/lib/encryptionmanager.cpp
@@ -89,13 +89,11 @@ public:
// A map from senderKey to InboundSession
QMap<QString, InboundSession*> sessions; // TODO: cache
void updateDeviceKeys(
- const QHash<QString, QHash<QString, QueryKeysJob::DeviceInformation>>&
- deviceKeys)
+ const QHash<QString, QHash<QString, QueryKeysJob::DeviceKeys>>& deviceKeys)
{
for (auto userId : deviceKeys.keys()) {
for (auto deviceId : deviceKeys.value(userId).keys()) {
- QueryKeysJob::DeviceInformation info =
- deviceKeys.value(userId).value(deviceId);
+ auto info = deviceKeys.value(userId).value(deviceId);
// TODO: ed25519Verify, etc
}
}