Skip to content
Snippets Groups Projects

Fix activity verification after key rotation

Merged Hazelnoot requested to merge fEmber/Sharkey:hazelnoot/fix-key-rotation into develop
All threads resolved!
1 file
+ 1
3
Compare changes
  • Side-by-side
  • Inline
@@ -176,9 +176,7 @@ export class ApDbResolverService implements OnApplicationShutdown {
public async refetchPublicKeyForApId(user: MiRemoteUser): Promise<MiUserPublickey | null> {
await this.apPersonService.updatePerson(user.uri);
const key = await this.userPublickeysRepository.findOneBy({ userId: user.id });
if (key != null) {
await this.publicKeyByUserIdCache.set(user.id, key);
}
this.publicKeyByUserIdCache.set(user.id, key);
return key;
}
Loading