Skip to content

ban_message default uses a non-standard banned: prefix #20

Description

@nogringo

banned: is not one of the NIP-01 OK prefixes (duplicate, pow, blocked, rate-limited, invalid, restricted, error, auth-required), so a client that keys its retry behavior off the prefix can't classify the rejection.

  • src/filters/ban.rs:69 : "banned: too many violations, try again later"
  • noteguard.toml:13 : ban_message = "banned: too many rate-limit violations, try again later"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions