diff options
Diffstat (limited to 'src/Olm.cpp')
-rw-r--r-- | src/Olm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Olm.cpp b/src/Olm.cpp index 91f94ccd..808279a3 100644 --- a/src/Olm.cpp +++ b/src/Olm.cpp @@ -602,8 +602,8 @@ send_key_request_for(mtx::events::EncryptedEvent<mtx::events::msg::Encrypted> e, e.content.session_id); mtx::events::msg::KeyRequest request; - request.action = !cancel ? mtx::events::msg::RequestAction::Request - : mtx::events::msg::RequestAction::Cancellation; + request.action = !cancel ? mtx::events::msg::RequestAction::Request + : mtx::events::msg::RequestAction::Cancellation; request.algorithm = MEGOLM_ALGO; request.room_id = e.room_id; request.sender_key = e.content.sender_key; |