summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-01-21 19:25:00 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-01-21 19:25:00 +0100
commit1a83a982fc4204b6388ec2163280684882777276 (patch)
tree139ae98b24a3a340821f42916bb563ec37f89ba4 /src
parentMove GNUInstallDirs after the project languages (diff)
downloadnheko-1a83a982fc4204b6388ec2163280684882777276.tar.xz
Properly skip device, if it has no keys
Diffstat (limited to 'src')
-rw-r--r--src/Olm.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Olm.cpp b/src/Olm.cpp

index 326e19ca..028095a6 100644 --- a/src/Olm.cpp +++ b/src/Olm.cpp
@@ -965,6 +965,7 @@ send_encrypted_to_device_messages(const std::map<std::string, std::vector<std::s !d.keys.count("ed25519:" + device)) { nhlog::crypto()->warn("Skipping device {} since it has no keys!", device); + continue; } auto session =