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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Olm.h b/src/Olm.h

index 8479f4f2..a18cbbfb 100644 --- a/src/Olm.h +++ b/src/Olm.h
@@ -59,12 +59,13 @@ try_olm_decryption(const std::string &sender_key, const mtx::events::msg::OlmCipherContent &content); void -handle_olm_message(const OlmMessage &msg); +handle_olm_message(const OlmMessage &msg, const UserKeyCache &otherUserDeviceKeys); //! Establish a new inbound megolm session with the decrypted payload from olm. void create_inbound_megolm_session(const mtx::events::DeviceEvent<mtx::events::msg::RoomKey> &roomKey, - const std::string &sender_key); + const std::string &sender_key, + const std::string &sender_ed25519); void import_inbound_megolm_session( const mtx::events::DeviceEvent<mtx::events::msg::ForwardedRoomKey> &roomKey);