Cannot re-hide an edited flagged post

I just saw a new error when handling a re-flag. The sequence here was:

  • Post was flagged by non-staff
  • A moderator (not me) approved the flag and hid the post
  • The OP made a no-op edit that did not resolve the flag (literally nothing was changed!). The post was automatically un-hidden
  • Post was flagged by non-staff again
  • I (a mod/admin) approved the re-flag and chose to hide the post
  • Post was not hidden.
  • When I (the mod/admin) try to flag the post again I now get “An error occurred: Thanks, but we’ve already reviewed that post and determined it does not need to be flagged again.”
  • The post is hidden/grayed out in the UI after dismissing that modal, but upon refresh it’s not hidden

I’d really prefer to use standard moderation tools (and not straight post deletion).

nice find! that’s a bit of a twisty one… I have a fix in the works that will also migrate out of the bad state