Reduce the number of loaded messages per conversations
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-12-03 20:39:26 +01:00
parent 48d9444dde
commit 5bcee2ea9d

View File

@@ -74,8 +74,8 @@ export class MatrixApiEvent {
await APIClient.exec({ await APIClient.exec({
method: "GET", method: "GET",
uri: uri:
`/matrix/room/${encodeURIComponent(room.id)}/events` + `/matrix/room/${encodeURIComponent(room.id)}/events?limit=400` +
(from ? `?from=${from}` : ""), (from ? `&from=${from}` : ""),
}) })
).data as MatrixEventsList; ).data as MatrixEventsList;
} }