diff --git a/src/encryption/Olm.cpp b/src/encryption/Olm.cpp index f9f31fd5..b5576418 100644 --- a/src/encryption/Olm.cpp +++ b/src/encryption/Olm.cpp @@ -1613,6 +1613,9 @@ request_cross_signing_keys() body[local_user][dev] = secretRequest; } + if (body.empty()) + return; + http::client()->send_to_device( http::client()->generate_txn_id(), body,