allow tags up to 64 characters.

This commit is contained in:
fiatjaf 2023-11-13 18:57:44 -03:00
parent c5b628ebf6
commit d84860dcfc
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1

View File

@ -59,7 +59,7 @@ func main() {
relay.QueryEvents = append(relay.QueryEvents, db.QueryEvents)
relay.DeleteEvent = append(relay.DeleteEvent, db.DeleteEvent)
relay.RejectEvent = append(relay.RejectEvent,
plugins.PreventLargeTags(60),
plugins.PreventLargeTags(64),
plugins.PreventTooManyIndexableTags(6),
plugins.RestrictToSpecifiedKinds(supportedKinds...),
rejectEventsFromUsersNotInWhitelist,