mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-06-30 02:20:37 +02:00
move nostr-sdk repository into here because why not?
This commit is contained in:
10
sdk/mutes.go
Normal file
10
sdk/mutes.go
Normal file
@ -0,0 +1,10 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user