Fix inbox bug (#6334)

This commit is contained in:
MeiMei 2020-05-09 17:08:54 +09:00 committed by GitHub
parent 1dcab21eb6
commit 328daa125e

View File

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