mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-28 21:28:19 +01:00
allow anonymous activities (resolves #819)
This commit is contained in:
parent
e38e408b97
commit
1e99782666
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue