This commit is contained in:
syuilo 2018-11-05 19:40:09 +09:00 committed by GitHub
parent 12f932d48a
commit 359470a263
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,15 +62,6 @@ export default async (job: bq.Job, done: any): Promise<void> => {
}) 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<void> => {
done();
return;
}
//#region Log
publishApLogStream({
direction: 'in',
activity: activity.type,
host: user.host,
actor: user.username
});
//#endregion
// アクティビティを処理
try {