summary refs log tree commit diff
path: root/src/encryption/Olm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/encryption/Olm.h')
-rw-r--r--src/encryption/Olm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/encryption/Olm.h b/src/encryption/Olm.h

index 1189fffa..e48fde67 100644 --- a/src/encryption/Olm.h +++ b/src/encryption/Olm.h
@@ -72,7 +72,7 @@ void import_inbound_megolm_session( const mtx::events::DeviceEvent<mtx::events::msg::ForwardedRoomKey> &roomKey); void -lookup_keybackup(const std::string room, const std::string session_id); +lookup_keybackup(const std::string &room, const std::string &session_id); void download_full_keybackup(); @@ -119,7 +119,7 @@ send_megolm_key_to_device(const std::string &user_id, //! Send encrypted to device messages, targets is a map from userid to device ids or {} for all //! devices void -send_encrypted_to_device_messages(const std::map<std::string, std::vector<std::string>> targets, +send_encrypted_to_device_messages(const std::map<std::string, std::vector<std::string>> &targets, const mtx::events::collections::DeviceEvents &event, bool force_new_session = false);