mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-09-17 19:13:56 +02:00
nip29: join request.
This commit is contained in:
@@ -40,6 +40,8 @@ var MetadataEventKinds = KindRange{
|
||||
nostr.KindSimpleGroupMembers,
|
||||
}
|
||||
|
||||
const JoinRequestKind = nostr.KindSimpleGroupJoinRequest
|
||||
|
||||
func (kr KindRange) Includes(kind int) bool {
|
||||
_, ok := slices.BinarySearch(kr, kind)
|
||||
return ok
|
||||
|
Reference in New Issue
Block a user