mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-08-04 00:42:38 +02:00
nip29: get rid of useless constant.
This commit is contained in:
@@ -44,8 +44,6 @@ var MetadataEventKinds = KindRange{
|
|||||||
nostr.KindSimpleGroupMembers,
|
nostr.KindSimpleGroupMembers,
|
||||||
}
|
}
|
||||||
|
|
||||||
const JoinRequestKind = nostr.KindSimpleGroupJoinRequest
|
|
||||||
|
|
||||||
func (kr KindRange) Includes(kind int) bool {
|
func (kr KindRange) Includes(kind int) bool {
|
||||||
_, ok := slices.BinarySearch(kr, kind)
|
_, ok := slices.BinarySearch(kr, kind)
|
||||||
return ok
|
return ok
|
||||||
|
Reference in New Issue
Block a user