mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-23 13:05:13 +00:00
fix: primitives 5 & 8: reject activities with non-string identifiers
This commit is contained in:
parent
1e14612f0e
commit
ad8e8793c7
1 changed files with 3 additions and 0 deletions
|
@ -193,6 +193,9 @@ 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');
|
||||
}
|
||||
|
||||
// Update stats
|
||||
this.federatedInstanceService.fetch(authUser.user.host).then(i => {
|
||||
|
|
Loading…
Reference in a new issue