fix: set boolean to true if uri doesn't match activity actor
This commit is contained in:
@@ -108,7 +108,7 @@ export class InboxProcessorService {
|
||||
|
||||
// また、signatureのsignerは、activity.actorと一致する必要がある
|
||||
if (!httpSignatureValidated || authUser.user.uri !== activity.actor) {
|
||||
let renewKeyFailed = false;
|
||||
let renewKeyFailed = authUser.user.uri !== activity.actor ? true : false;
|
||||
|
||||
if (!httpSignatureValidated) {
|
||||
authUser.key = await this.apDbResolverService.refetchPublicKeyForApId(authUser.user);
|
||||
|
||||
Reference in New Issue
Block a user