aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/connection.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp
index 66590bd8..41dd71f6 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -1848,6 +1848,7 @@ void Connection::Private::loadOutdatedUserDevices()
auto queryKeysJob = q->callApi<QueryKeysJob>(users);
currentQueryKeysJob = queryKeysJob;
connect(queryKeysJob, &BaseJob::success, q, [=](){
+ currentQueryKeysJob = nullptr;
const auto data = queryKeysJob->deviceKeys();
for(const auto &[user, keys] : asKeyValueRange(data)) {
//TODO Check key signature