summary refs log tree commit diff
path: root/src/Olm.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-10-18 02:02:14 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2020-10-18 02:02:14 +0200
commit1f68bc60b5a35f3b39a5a9d537c6ee6cdd0ede44 (patch)
tree08bdf1661434ea0bba04a1b878e33ff0d3673b56 /src/Olm.h
parentAutomatic key sharing with trusted users (diff)
downloadnheko-1f68bc60b5a35f3b39a5a9d537c6ee6cdd0ede44.tar.xz
Actually forward keys using m.forwared_room_key
Diffstat (limited to '')
-rw-r--r--src/Olm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Olm.h b/src/Olm.h
index 7b97039b..cda9f29a 100644
--- a/src/Olm.h
+++ b/src/Olm.h
@@ -108,6 +108,6 @@ handle_key_request_message(const mtx::events::DeviceEvent<mtx::events::msg::KeyR
 void
 send_megolm_key_to_device(const std::string &user_id,
                           const std::string &device_id,
-                          const json &payload);
+                          const mtx::events::msg::ForwardedRoomKey &payload);
 
 } // namespace olm