From 78badd9af880b8289694b96706d9cfa4c264d6fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 29 Sep 2020 17:36:56 +0200 Subject: [PATCH] crypto: Use the correct event type when sending out forwarded room keys. --- matrix_sdk_crypto/src/key_request.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_sdk_crypto/src/key_request.rs b/matrix_sdk_crypto/src/key_request.rs index 621a3cfb..4372aeb3 100644 --- a/matrix_sdk_crypto/src/key_request.rs +++ b/matrix_sdk_crypto/src/key_request.rs @@ -346,7 +346,7 @@ impl KeyRequestMachine { request_id: id, request: Arc::new( ToDeviceRequest { - event_type: EventType::RoomKeyRequest, + event_type: EventType::RoomEncrypted, txn_id: id, messages, }