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