go-nostr/sdk/mutes.go

11 lines
252 B
Go
Raw Permalink Normal View History

package sdk
import "context"
type MuteList = GenericList[Follow]
func (sys *System) FetchMuteList(ctx context.Context, pubkey string) MuteList {
2024-11-27 00:59:34 -03:00
ml, _ := fetchGenericList(sys, ctx, pubkey, 10000, parseFollow, sys.MuteListCache, false)
return ml
}