From b318789354a8100fb1a2025ae70e958dc770101e Mon Sep 17 00:00:00 2001 From: tamaina Date: Fri, 7 Jul 2023 23:15:04 +0000 Subject: [PATCH] =?UTF-8?q?fix(backend):=20deliverMany=E3=81=ABcontent?= =?UTF-8?q?=E3=81=AEnull=E3=83=81=E3=82=A7=E3=83=83=E3=82=AF=E3=82=92?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0=20https://github.com/MisskeyIO/misskey/pull/?= =?UTF-8?q?99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/backend/src/core/QueueService.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/backend/src/core/QueueService.ts b/packages/backend/src/core/QueueService.ts index 48ff00c8c..e1da0516d 100644 --- a/packages/backend/src/core/QueueService.ts +++ b/packages/backend/src/core/QueueService.ts @@ -97,6 +97,8 @@ export class QueueService { */ @bindThis public async deliverMany(user: ThinUser, content: IActivity | null, inboxes: Map) { + if (content == null) return null; + const opts = { attempts: this.config.deliverJobMaxAttempts ?? 12, backoff: {