Reduce the number of loaded messages per conversations
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user