From 880818a58804727541b5c2e40b7223a879075f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Fri, 12 Mar 2021 16:33:35 +0100 Subject: [PATCH] crypto: Send bigger sendToDevice requests out that carry our room keys --- matrix_sdk_crypto/src/session_manager/group_sessions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_sdk_crypto/src/session_manager/group_sessions.rs b/matrix_sdk_crypto/src/session_manager/group_sessions.rs index 3c68e562..a0051b53 100644 --- a/matrix_sdk_crypto/src/session_manager/group_sessions.rs +++ b/matrix_sdk_crypto/src/session_manager/group_sessions.rs @@ -54,7 +54,7 @@ pub struct GroupSessionManager { } impl GroupSessionManager { - const MAX_TO_DEVICE_MESSAGES: usize = 20; + const MAX_TO_DEVICE_MESSAGES: usize = 250; pub(crate) fn new(account: Account, store: Store) -> Self { Self {