normalize re-fetch logic between InboxProcessorService and ActivityPubServerService
This commit is contained in:
@@ -118,6 +118,7 @@ export class InboxProcessorService implements OnApplicationShutdown {
|
||||
// HTTP-Signatureの検証
|
||||
let httpSignatureValidated = httpSignature.verifySignature(signature, authUser.key.keyPem);
|
||||
|
||||
// maybe they changed their key? refetch it
|
||||
if (!httpSignatureValidated) {
|
||||
authUser.key = await this.apDbResolverService.refetchPublicKeyForApId(authUser.user);
|
||||
if (authUser.key != null) {
|
||||
|
||||
Reference in New Issue
Block a user