mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 21:43:09 +02:00
fix: set boolean to true if uri doesn't match activity actor
This commit is contained in:
parent
71b7c31958
commit
c76f0f1679
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue