Also outs your report publicly, nice !

  • Draconic NEO@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    5
    ·
    2 months ago

    They should do what Reddit does and by default make a 5 second rate limit of sending posts and comments, the first one gets accepted, the next ones get rejected within the 5 second ratelimit.

    • idunnololz@lemmy.world
      link
      fedilink
      arrow-up
      14
      ·
      2 months ago

      Another popular solution I see is to have the client generate a UUID when posting. Then the server can very easily tell if a request is a duplicate.

    • dev_null@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      2 months ago

      It doesn’t solve the problem of your comment request timing out after waiting 30 seconds in a spotty mobile connection. Now that it timed out, you don’t know if it was actually posted or not. A proper API would not post duplicate comments in response to retries of a request that already succeeded (without the client knowing).