Duplicate (no-op) moderation actions are recorded multiple times in the modlog
What happened? (Please give us a brief description of what happened.)
Say I were to ban you twice using a modbot - accidentally, of course. The bot will send two requests to admin/suspend-user
, and both will be recorded in the moderation log.
What did you expect to happen? (Please give us a brief description of what you expected to happen.)
The response wouldn't be failed per se, but rather not actioned on.
Version (What version of Sharkey is your instance running? You can find this by clicking your instance's logo at the top left and then clicking instance information.)
Docker/v2024.9.1-rc+devel
Instance (What instance of Sharkey are you using?)
Kitsunes.club
What type of issue is this? (If this happens on your device and has to do with the user interface, it's client-side. If this happens on either with the API or the backend, or you got a server-side error in the client, it's server-side.)
Server
Contribution Guidelines By submitting this issue, you agree to follow our Contribution Guidelines
- I agree to follow this project's Contribution Guidelines
- I have searched the issue tracker for similar issues, and this is not a duplicate.