# Topic not deleted after deleting spammer

**URL:** https://meta.discourse.org/t/topic-not-deleted-after-deleting-spammer/41348
**Category:** Bug
**Created:** [21 Março , 2016 03:39 UTC](https://meta.discourse.org/t/topic-not-deleted-after-deleting-spammer/41348 "2016-03-21T03:39:19Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [21 Março , 2016 03:39 UTC](https://meta.discourse.org/t/topic-not-deleted-after-deleting-spammer/41348/1 "2016-03-21T03:39:19Z")

</div>

[https://meta.discourse.org/t/vote-for-your-external-batterys-color/41347](https://meta.discourse.org/t/vote-for-your-external-batterys-color/41347)

 ![](https://global.discourse-cdn.com/meta/original/3X/c/9/c9e15e831d607755017be8082f921f0af439804d.png)

Repro steps:

1. Create a new user
2. Create a new topic with the user
3. Using an admin user, click `flag -> it's spam -> delete spammer`

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [21 Março , 2016 05:07 UTC](https://meta.discourse.org/t/topic-not-deleted-after-deleting-spammer/41348/2 "2016-03-21T05:07:14Z")

</div>

Weird that has always worked before.

---

<div class="post-metadata">

### Author: ![GlitchMr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/glitchmr/32/96700_2.png) [@GlitchMr](https://meta.discourse.org/u/GlitchMr)
#### Post date: [21 Março , 2016 07:56 UTC](https://meta.discourse.org/t/topic-not-deleted-after-deleting-spammer/41348/3 "2016-03-21T07:56:13Z")

</div>

Apparently posts intentionally aren’t deleted, and are supposed to be seen by staff (as I think from seeing an exception when deleted\_user is null). I decided to send a patch:

[https://github.com/discourse/discourse/pull/4100](https://github.com/discourse/discourse/pull/4100)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [21 Março , 2016 08:22 UTC](https://meta.discourse.org/t/topic-not-deleted-after-deleting-spammer/41348/4 "2016-03-21T08:22:54Z")

</div>

Nice @neil can you review that Canada Monday?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [21 Março , 2016 09:25 UTC](https://meta.discourse.org/t/topic-not-deleted-after-deleting-spammer/41348/5 "2016-03-21T09:25:00Z")

</div>

> [@GlitchMr](#):
>
> I decided to send a patch:  
> [FIX: Allow displaying posts by deleted users. by sugar700 · Pull Request #4100 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/4100)

Thanks 👍, it’s now merged 😉

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [21 Março , 2016 09:25 UTC](https://meta.discourse.org/t/topic-not-deleted-after-deleting-spammer/41348/6 "2016-03-21T09:25:12Z")

</div>


