aboutsummaryrefslogtreecommitdiff
path: root/lib/encryptionmanager.cpp
diff options
context:
space:
mode:
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
}
}