aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r--lib/connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp
index 06b9bcbc..6facd316 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -1865,7 +1865,7 @@ void Connection::Private::loadOutdatedUserDevices()
qCWarning(E2EE) << "Unsupported encryption algorithms found" << device.algorithms;
continue;
}
- if(verifyIdentitySignature(device, device.deviceId, device.userId)) {
+ if(!verifyIdentitySignature(device, device.deviceId, device.userId)) {
qCWarning(E2EE) << "Failed to verify devicekeys signature. Skipping this device";
continue;
}