Skip to content

Enhancements for the warning system #41

@jgknight

Description

@jgknight

The warning system could use some enhancements to more closely match the behavior of the original AIM servers. I'm filing this to capture ideas/notes.

In no particular order:

  • You should only be able to warn (EvilRequest) users who have recently messaged you. See this brief mention in the Nina wiki, the server would not let you send a warning to a user who has not "recently" messaged you. We'd need to keep a list of recent screennames who have IM'd the user, along with a timestamp and pick some timeframe (e.g. withn the last 5 minutes.) This could be tracked with the session for simplicity?
  • There should be a rate limit / delay so that you can't continue to warn the same user over and over without waiting
  • Warning level should not go above 100%
  • Warning level should persist across sign-off / sign-on. It's currently only tracked with the session
  • Warning level should gradually decay over time back to 0%

The warning level factored into the user's rate limit, and there were some reports that high warning levels would prevent sign ons. We don't necessarily need to do these unless someone really wants it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions