1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-04 02:36:32 +02:00

fix: use ftt for outbox (#15819)

* fix: use ftt for outbox

* chore: check for enableFanoutTimeline

* lint: fix lint
This commit is contained in:
anatawa12
2025-04-15 16:15:27 +09:00
committed by GitHub
parent f454e820bd
commit b2e3e65896
2 changed files with 39 additions and 11 deletions

View File

@@ -54,7 +54,7 @@ export class FanoutTimelineEndpointService {
}
@bindThis
private async getMiNotes(ps: TimelineOptions): Promise<MiNote[]> {
async getMiNotes(ps: TimelineOptions): Promise<MiNote[]> {
// 呼び出し元と以下の処理をシンプルにするためにdbFallbackを置き換える
if (!ps.useDbFallback) ps.dbFallback = () => Promise.resolve([]);