mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-10-01 01:36:06 -04:00
typo
This commit is contained in:
parent
8610971600
commit
76b5689b8e
@ -179,7 +179,7 @@ export async function getMessagesByUserIn(client: MatrixClient, sender: string,
|
|||||||
if (events.length > 0) {
|
if (events.length > 0) {
|
||||||
await cb(events);
|
await cb(events);
|
||||||
}
|
}
|
||||||
// This check exists only becuase of a Synapse compliance bug https://github.com/matrix-org/synapse/issues/12102.
|
// This check exists only because of a Synapse compliance bug https://github.com/matrix-org/synapse/issues/12102.
|
||||||
// We also check after processing events as the `previousToken` can be 'null' if we are at the start of the steam
|
// We also check after processing events as the `previousToken` can be 'null' if we are at the start of the steam
|
||||||
// and `token` can also be 'null' as we have paginated the entire timeline, but there would be unprocessed events in the
|
// and `token` can also be 'null' as we have paginated the entire timeline, but there would be unprocessed events in the
|
||||||
// chunk that was returned in this request.
|
// chunk that was returned in this request.
|
||||||
|
Loading…
Reference in New Issue
Block a user