mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-11-15 16:50:16 +01: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