mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-26 04:03:03 +01:00
goof
This commit is contained in:
parent
08f17f88e7
commit
4235dec54d
@ -126,7 +126,8 @@ router.get(
|
||||
Message.find({ ...query, where: { id: LessThan(around) } }),
|
||||
Message.find({ ...query, where: { id: MoreThan(around) } }),
|
||||
]);
|
||||
messages = right.concat(left);
|
||||
right.push(...left);
|
||||
messages = right;
|
||||
} else {
|
||||
if (after) {
|
||||
if (BigInt(after) > BigInt(Snowflake.generate()))
|
||||
|
Loading…
Reference in New Issue
Block a user