nip29: get rid of useless constant.

This commit is contained in:
fiatjaf
2024-08-29 07:57:05 -03:00
parent ddf28001cf
commit 1db4da7ed3

View File

@@ -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