sdk: mutelist cache.

This commit is contained in:
fiatjaf
2024-11-27 00:59:34 -03:00
parent c5c9bba586
commit 1ac5516440
2 changed files with 9 additions and 1 deletions

View File

@@ -5,6 +5,6 @@ import "context"
type MuteList = GenericList[Follow]
func (sys *System) FetchMuteList(ctx context.Context, pubkey string) MuteList {
ml, _ := fetchGenericList[Follow](sys, ctx, pubkey, 10000, parseFollow, nil, false)
ml, _ := fetchGenericList(sys, ctx, pubkey, 10000, parseFollow, sys.MuteListCache, false)
return ml
}