Properly skip device, if it has no keys

This commit is contained in:
Nicolas Werner 2021-01-21 19:25:00 +01:00
parent db961204c8
commit 1a83a982fc

View file

@ -965,6 +965,7 @@ send_encrypted_to_device_messages(const std::map<std::string, std::vector<std::s
!d.keys.count("ed25519:" + device)) { !d.keys.count("ed25519:" + device)) {
nhlog::crypto()->warn("Skipping device {} since it has no keys!", nhlog::crypto()->warn("Skipping device {} since it has no keys!",
device); device);
continue;
} }
auto session = auto session =