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

index 2556a22d..ce362e26 100644 --- a/src/Olm.h +++ b/src/Olm.h
@@ -110,9 +110,11 @@ send_megolm_key_to_device(const std::string &user_id, const std::string &device_id, const mtx::events::msg::ForwardedRoomKey &payload); -//! Send encrypted to device messages, targets is a map from userid to device ids or "*" +//! 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, - const mtx::events::collections::DeviceEvents &event); + const mtx::events::collections::DeviceEvents &event, + bool force_new_session = false); } // namespace olm