mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-08-03 00:12:17 +02:00
nip29: get rid of useless constant.
This commit is contained in:
@@ -44,8 +44,6 @@ 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