diff options
| author | Hazelnoot <acomputerdog@gmail.com> | 2024-11-26 09:05:04 -0500 |
|---|---|---|
| committer | Hazelnoot <acomputerdog@gmail.com> | 2024-11-26 09:05:04 -0500 |
| commit | 1e99782666397de786093b36077011ac32cea1a8 (patch) | |
| tree | 286450927d1428c9f28acd1392da4fb4af8abff0 /packages/backend/src/queue/processors/InboxProcessorService.ts | |
| parent | merge: Normalize AP IDs during verification (resolves #818) (!774) (diff) | |
| download | sharkey-1e99782666397de786093b36077011ac32cea1a8.tar.gz sharkey-1e99782666397de786093b36077011ac32cea1a8.tar.bz2 sharkey-1e99782666397de786093b36077011ac32cea1a8.zip | |
allow anonymous activities (resolves #819)
Diffstat (limited to 'packages/backend/src/queue/processors/InboxProcessorService.ts')
| -rw-r--r-- | packages/backend/src/queue/processors/InboxProcessorService.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/backend/src/queue/processors/InboxProcessorService.ts b/packages/backend/src/queue/processors/InboxProcessorService.ts index 260ebe0d40..5411eb69d0 100644 --- a/packages/backend/src/queue/processors/InboxProcessorService.ts +++ b/packages/backend/src/queue/processors/InboxProcessorService.ts @@ -194,7 +194,8 @@ export class InboxProcessorService implements OnApplicationShutdown { throw new Bull.UnrecoverableError(`skip: signerHost(${signerHost}) !== activity.id host(${activityIdHost}`); } } else { - throw new Bull.UnrecoverableError('skip: activity id is not a string'); + // Activity ID should only be string or undefined. + delete activity.id; } // Update stats |