Increase max limit for /messages from 100 to 1000

This commit is contained in:
dasha_uwu
2026-02-07 00:38:47 +05:00
committed by Jason Volk
parent 6f5ae17dc6
commit b160880868

View File

@@ -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`