Fix inbox bug (#6334)
This commit is contained in:
parent
f1417c6bb1
commit
99e34e9ee2
@ -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';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user