mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-11-18 18:16:50 +01:00
use our own dataloader and simplify batch replaceable requests, removing bugs.
This commit is contained in:
@@ -154,8 +154,7 @@ func (sys *System) FetchProfileMetadata(ctx context.Context, pubkey string) (pm
|
||||
}
|
||||
|
||||
func (sys *System) tryFetchMetadataFromNetwork(ctx context.Context, pubkey string) *ProfileMetadata {
|
||||
thunk0 := sys.replaceableLoaders[kind_0].Load(ctx, pubkey)
|
||||
evt, err := thunk0()
|
||||
evt, err := sys.replaceableLoaders[kind_0].Load(ctx, pubkey)
|
||||
if err != nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user