From 359470a263ddf6bafc077163e7ed4a4f51f6f4b4 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 5 Nov 2018 19:40:09 +0900 Subject: [PATCH] Fix bug --- src/queue/processors/http/process-inbox.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/queue/processors/http/process-inbox.ts b/src/queue/processors/http/process-inbox.ts index 87f0fbfb8..59144fa00 100644 --- a/src/queue/processors/http/process-inbox.ts +++ b/src/queue/processors/http/process-inbox.ts @@ -62,15 +62,6 @@ export default async (job: bq.Job, done: any): Promise => { }) as IRemoteUser; } - //#region Log - publishApLogStream({ - direction: 'in', - activity: activity.type, - host: user.host, - actor: user.username - }); - //#endregion - // Update activityの場合は、ここで署名検証/更新処理まで実施して終了 if (activity.type === 'Update') { if (activity.object && activity.object.type === 'Person') { @@ -101,6 +92,15 @@ export default async (job: bq.Job, done: any): Promise => { done(); return; } + + //#region Log + publishApLogStream({ + direction: 'in', + activity: activity.type, + host: user.host, + actor: user.username + }); + //#endregion // アクティビティを処理 try {