Fix inbox bug (#6334)

This commit is contained in:
MeiMei 2020-05-09 17:08:54 +09:00 committed by GitHub
parent f1417c6bb1
commit 99e34e9ee2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -92,6 +92,8 @@ export default async (job: Bull.Job<InboxJobData>): Promise<string> => {
if (authUser.user.uri !== activity.actor) {
return `skip: LD-Signature user(${authUser.user.uri}) !== activity.actor(${activity.actor})`;
}
} else {
return 'signature verification failed';
}
}