diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2020-05-09 17:08:54 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-09 17:08:54 +0900 |
| commit | 99e34e9ee2b41b8b83770b9054a88812fb350d52 (patch) | |
| tree | 87ff10d3ea6899ae99b3a46c13bdf3f9709933da /src/queue/processors/inbox.ts | |
| parent | chore(lint): Update rule (diff) | |
| download | sharkey-99e34e9ee2b41b8b83770b9054a88812fb350d52.tar.gz sharkey-99e34e9ee2b41b8b83770b9054a88812fb350d52.tar.bz2 sharkey-99e34e9ee2b41b8b83770b9054a88812fb350d52.zip | |
Fix inbox bug (#6334)
Diffstat (limited to 'src/queue/processors/inbox.ts')
| -rw-r--r-- | src/queue/processors/inbox.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/queue/processors/inbox.ts b/src/queue/processors/inbox.ts index 6eea2e5646..f37f663ed5 100644 --- a/src/queue/processors/inbox.ts +++ b/src/queue/processors/inbox.ts @@ -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'; } } |