Skip to content

Commit

Permalink
Merge branch 'develop' into drive-file-preview
Browse files Browse the repository at this point in the history
  • Loading branch information
kakkokari-gtyih authored Oct 9, 2023
2 parents 031a506 + 4eb9e50 commit 6696e7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "misskey",
"version": "2023.10.0-beta.14",
"version": "2023.10.0-beta.15",
"codename": "nasubi",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/backend/src/core/RedisTimelineService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class RedisTimelineService {
.then(ids => ids.filter(id => id > sinceId).sort((a, b) => a < b ? -1 : 1));
} else {
return this.redisForTimelines.lrange('list:' + name, 0, -1)
.then(ids => ids.sort((a, b) => a < b ? -1 : 1));
.then(ids => ids.sort((a, b) => a > b ? -1 : 1));
}
}

Expand All @@ -73,7 +73,7 @@ export class RedisTimelineService {
? ids.filter(id => id < untilId).sort((a, b) => a > b ? -1 : 1)
: sinceId
? ids.filter(id => id > sinceId).sort((a, b) => a < b ? -1 : 1)
: ids.sort((a, b) => a < b ? -1 : 1),
: ids.sort((a, b) => a > b ? -1 : 1),
);
});
}
Expand Down

0 comments on commit 6696e7f

Please sign in to comment.