mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 17:03:09 +02:00
Fix inbox bug (#6334)
This commit is contained in:
parent
f1417c6bb1
commit
99e34e9ee2
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue