# Can't recover a topic by a deleted user

**URL:** <https://meta.discourse.org/t/cant-recover-a-topic-by-a-deleted-user/97048>\
**Category:** Feature\
**Created:** [12.Сентябрь.2018 15:44:03 UTC](https://meta.discourse.org/t/cant-recover-a-topic-by-a-deleted-user/97048 "2018-09-12T15:44:03Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Nick\_Shearer\_nsheare](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nick_shearer_nsheare/32/119547_2.png) [@Nick\_Shearer\_nsheare](https://meta.discourse.org/u/Nick_Shearer_nsheare)\
**Post date:** [12.Сентябрь.2018 15:44:03 UTC](https://meta.discourse.org/t/cant-recover-a-topic-by-a-deleted-user/97048/1 "2018-09-12T15:44:03Z")

</div>

We had a moderator accidentally delete a user who posted a topic instead of the one who posted spam at the end of it… aside from the badness of not being able to undo deleting the user this caused the first post of the topic (i.e the topic itself) to end up in a deleted state. assigning the topic to a new user left the first post in the topic in the deleted state with no way to recover.

the lil trash can icon under the post would let me delete the entire thread and then the undelete icon would come up and let me undelete the whole thread. after doing that the first post was still stuck in the deleted state.

I ended up undeleting the first post manually via the api which fixed the problem.

however it would be nice if it was possible to fix this via the UI. i.e the undelete button should probably have been available on the first post when the thread was not deleted but the first post was. if that isn’t reasonable perhaps undeleting a thread should also undelete the first post in the thread if it is in a deleted state.

---

_[View the full topic](https://meta.discourse.org/t/cant-recover-a-topic-by-a-deleted-user/97048)._
