mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-03-19 22:31:54 +01:00
11 lines
246 B
Go
11 lines
246 B
Go
|
package sdk
|
||
|
|
||
|
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)
|
||
|
return ml
|
||
|
}
|