From b160880868b79acf9d79cf0211f6377a72a488f6 Mon Sep 17 00:00:00 2001 From: dasha_uwu Date: Sat, 7 Feb 2026 00:38:47 +0500 Subject: [PATCH] Increase max limit for /messages from 100 to 1000 --- src/api/client/message.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/client/message.rs b/src/api/client/message.rs index 3eeb8515..3f3ffa57 100644 --- a/src/api/client/message.rs +++ b/src/api/client/message.rs @@ -54,7 +54,7 @@ const IGNORED_MESSAGE_TYPES: &[TimelineEventType] = &[ CallNotify, ]; -const LIMIT_MAX: usize = 100; +const LIMIT_MAX: usize = 1000; const LIMIT_DEFAULT: usize = 10; /// # `GET /_matrix/client/r0/rooms/{roomId}/messages`