Deleting a post results in this error message

    • CreatureSurvive@lemmy.worldM
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      Alright, I have this fixed now. Deleted posts will show a badge in the UI. The delete action will now act as a toggle to delete or restore the post.

    • CreatureSurvive@lemmy.worldM
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      Alright, I’ve figured out the issue here. When a post is deleted, it still appears for the original poster. So, the first time you deleted the post, it worked, but the second time, an error message is displayed, essentially stating that you can’t delete a post twice.

      To resolve this, I need to update the UI to show that the post was successfully deleted and disable the delete action for already deleted posts.