summary refs log tree commit diff
path: root/src/Olm.h
diff options
context:
space:
mode:
authorCH Chethan Reddy <40890937+Chethan2k1@users.noreply.github.com>2020-05-12 22:39:53 +0530
committerChethan2k1 <40890937+Chethan2k1@users.noreply.github.com>2020-05-15 17:48:27 +0530
commit30d61e3114927a93305fc52ed4a78ab0dc50024f (patch)
treeac8fe1f151a763b6eee7db1e544ea46282f7f1aa /src/Olm.h
parentTranslated using Weblate (German) (diff)
downloadnheko-30d61e3114927a93305fc52ed4a78ab0dc50024f.tar.xz
minor fixes
Diffstat (limited to 'src/Olm.h')
-rw-r--r--src/Olm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Olm.h b/src/Olm.h
index 28521413..09038ad1 100644
--- a/src/Olm.h
+++ b/src/Olm.h
@@ -40,7 +40,7 @@ mtx::crypto::OlmClient *
 client();
 
 void
-handle_to_device_messages(const std::vector<nlohmann::json> &msgs);
+handle_to_device_messages(const std::vector<mtx::events::collections::DeviceEvents> &msgs);
 
 nlohmann::json
 try_olm_decryption(const std::string &sender_key,
@@ -77,7 +77,7 @@ send_key_request_for(const std::string &room_id,
                      const mtx::events::EncryptedEvent<mtx::events::msg::Encrypted> &);
 
 void
-handle_key_request_message(const mtx::events::msg::KeyRequest &);
+handle_key_request_message(const mtx::events::DeviceEvent<mtx::events::msg::KeyRequest> &);
 
 void
 send_megolm_key_to_device(const std::string &user_id,