fix: various

This commit is contained in:
2024-04-23 15:43:07 +01:00
parent 9ddd8fc6c2
commit a3299ab29a
8 changed files with 59 additions and 104 deletions

View File

@ -22,12 +22,4 @@ export class ProfileLoaderService extends BackgroundLoader<CachedMetadata> {
sub.withFilter().kinds([EventKind.SetMetadata]).authors(missing).relay(MetadataRelays);
return sub;
}
protected override makePlaceholder(key: string): CachedMetadata | undefined {
return {
pubkey: key,
loaded: unixNowMs() - ProfileCacheExpire + 30_000,
created: 0,
} as CachedMetadata;
}
}