# Resetting latest/activity after a post deletion?

**URL:** https://meta.discourse.org/t/resetting-latest-activity-after-a-post-deletion/56602
**Category:** Feature
**Created:** [Janvier 30, 2017, 5:19 UTC](https://meta.discourse.org/t/resetting-latest-activity-after-a-post-deletion/56602 "2017-01-30T17:19:08Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![kirupa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kirupa/32/374711_2.png) [@kirupa](https://meta.discourse.org/u/kirupa)
#### Post date: [Janvier 30, 2017, 5:19 UTC](https://meta.discourse.org/t/resetting-latest-activity-after-a-post-deletion/56602/1 "2017-01-30T17:19:09Z")

</div>

Hi, everyone!  
One of my admins had a question that I think might be a feature request:

> Something that’s been annoying me since forever, is the fact that discourse doesn’t reset a thread’s activity time after deleting a post. Like right now there’s that 7 year old thread at the top of the forums because some spammer posted something in it, which itself was deleted. So really as far as the public can tell, the last activity was 7 years ago, not a couple of hours ago. So it shouldn’t be visible in the forums list.

What do you all think? If this is indeed a new feature request, do you all run into this as well?

Thanks,  
Kirupa

---

<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: [Janvier 31, 2017, 2:56 UTC](https://meta.discourse.org/t/resetting-latest-activity-after-a-post-deletion/56602/2 "2017-01-31T02:56:04Z")

</div>

This is how 99% of forum software works. It is useful to see the bounce so you know spammers are targeting that topic and can take further action.

---

<div class="post-metadata">

### Author: ![kirupa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kirupa/32/374711_2.png) [@kirupa](https://meta.discourse.org/u/kirupa)
#### Post date: [Février 2, 2017, 4:51 UTC](https://meta.discourse.org/t/resetting-latest-activity-after-a-post-deletion/56602/3 "2017-02-02T04:51:07Z")

</div>

I completely agree with the topic making it to the top when a spammer replies to it. Once we delete the spammer’s response, do you still feel that the topic needs to still appear at the top?

I checked in vBulletin, and the behavior isn’t the same. When I delete the last response, the threads are ordered again by the last post date. That ensures ancient topics return back into their deep slumber once the spam post that bumped it up is deleted 😛

---

<div class="post-metadata">

### Author: ![kirupa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kirupa/32/374711_2.png) [@kirupa](https://meta.discourse.org/u/kirupa)
#### Post date: [Février 8, 2017, 6:51 UTC](https://meta.discourse.org/t/resetting-latest-activity-after-a-post-deletion/56602/4 "2017-02-08T06:51:09Z")

</div>

So…I deleted a spam post today that bumped up an ancient thread, and that post disappeared from the front page after deleting the spam. That’s the behavior I would expect. In another thread, I did the same exact thing but the result was different. The spam response was deleted, but the thread remained at the top. That’s not the behavior I want.

Could I be running into some sort of a bug? What is the expected behavior?

🙂

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [Février 8, 2017, 11:17 UTC](https://meta.discourse.org/t/resetting-latest-activity-after-a-post-deletion/56602/5 "2017-02-08T11:17:10Z")

</div>

Where did you delete the spam post from Akismet, Needs Approval Queue, or directly from the topic?

---

<div class="post-metadata">

### Author: ![kirupa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kirupa/32/374711_2.png) [@kirupa](https://meta.discourse.org/u/kirupa)
#### Post date: [Février 8, 2017, 5:03 UTC](https://meta.discourse.org/t/resetting-latest-activity-after-a-post-deletion/56602/6 "2017-02-08T17:03:19Z")

</div>

Directly from the topic.

---

<div class="post-metadata">

### Author: ![kirupa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kirupa/32/374711_2.png) [@kirupa](https://meta.discourse.org/u/kirupa)
#### Post date: [Février 15, 2017, 5:35 UTC](https://meta.discourse.org/t/resetting-latest-activity-after-a-post-deletion/56602/7 "2017-02-15T17:35:05Z")

</div>

This keeps happening:

1. Spammer posts on ancient thread.
2. Ancient thread is on top of the forum.
3. (This is all normal, expected behavior)
4. Delete spam post.
5. Ancient thread remains at the top of the forum.
6. (This is inconsistent with other forum software, and only happens about 50% of the time. All of these posts are deleted directly from the topic. My expectation is that the ancient post returns to where it was before the now-gone spam activity bumped it up)

Just wanted to bump this up in-case I’ve stumbled on a bug. In that case, it probably isn’t a feature request 😛

---

<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: [Février 15, 2017, 6:55 UTC](https://meta.discourse.org/t/resetting-latest-activity-after-a-post-deletion/56602/8 "2017-02-15T18:55:10Z")

</div>

Are you not running Akismet? Have you changed default Discourse settings related to trust levels? It is just not that common to get spam replies.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [Février 15, 2017, 7:50 UTC](https://meta.discourse.org/t/resetting-latest-activity-after-a-post-deletion/56602/9 "2017-02-15T19:50:00Z")

</div>

I need to go through our recent Akismet posts but I believe those still bump the last post date on a topic. Needs Approval, on the other hand, does not.

Akismet would because the post is actually on the topic in the flow when being dealt with. Needs Approval isn’t because the post isn’t actually on the topic until approved.

---

<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: [Février 15, 2017, 8:09 UTC](https://meta.discourse.org/t/resetting-latest-activity-after-a-post-deletion/56602/10 "2017-02-15T20:09:37Z")

</div>

No, Akismet gets posts blocked before stuff is posted. So that’s not true.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [Février 15, 2017, 8:26 UTC](https://meta.discourse.org/t/resetting-latest-activity-after-a-post-deletion/56602/11 "2017-02-15T20:26:57Z")

</div>

I just proved it on my sandbox. It bumped the topic to the top. Deleted/hide the post, as staff I did confirm and delete user, topic remained bumped.

Very easy to repro.

1. Create new account
2. Find old topic
3. Reply with “bamwar” copied and pasted 30-40 times
4. Watch Akismet pick up post immediately and PM you about it
5. Login as staff
6. Note bumped topic at top of latest
7. Handle spam post
8. Topic is still at top of latest

Edit: updated as I suck at mobile posting.

---

<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: [Février 15, 2017, 8:31 UTC](https://meta.discourse.org/t/resetting-latest-activity-after-a-post-deletion/56602/12 "2017-02-15T20:31:24Z")

</div>

Aha so I was wrong, Akismet wouldn’t help you in this case.

Sorry @kirupa, this isn’t on our roadmap for the forseeable future, as we don’t have (any, that I can receall) paying customers complaining about it. On top of that, I think ghost bumps are correct and proper as they highlight problem topics that tend to attract spam. You could sponsor someone in #Marketplace to work on it if you wish.

---

<div class="post-metadata">

### Author: ![sebastianh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sebastianh/32/40415_2.png) [@sebastianh](https://meta.discourse.org/u/sebastianh)
#### Post date: [Décembre 20, 2017, 6:38 UTC](https://meta.discourse.org/t/resetting-latest-activity-after-a-post-deletion/56602/13 "2017-12-20T18:38:19Z")

</div>

So I am bumping this. I was just super annoyed as well that a topic stayed bumped even though the spam comment that bumped it was deleted…

---

<div class="post-metadata">

### Author: ![yanokwa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yanokwa/32/105083_2.png) [@yanokwa](https://meta.discourse.org/u/yanokwa)
#### Post date: [Mars 17, 2019, 6:46 UTC](https://meta.discourse.org/t/resetting-latest-activity-after-a-post-deletion/56602/14 "2019-03-17T18:46:06Z")

</div>

I keep running into this issue and it’d be awesome to have a setting where deleted spam posts get bumped. @sebastianh, did you ever find a good workaround?

---

<div class="post-metadata">

### Author: ![sebastianh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sebastianh/32/40415_2.png) [@sebastianh](https://meta.discourse.org/u/sebastianh)
#### Post date: [Mars 31, 2019, 1:29 UTC](https://meta.discourse.org/t/resetting-latest-activity-after-a-post-deletion/56602/15 "2019-03-31T13:29:08Z")

</div>

nope, but not sure if still occurs

---

<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: [Mars 31, 2019, 4:06 UTC](https://meta.discourse.org/t/resetting-latest-activity-after-a-post-deletion/56602/16 "2019-03-31T16:06:51Z")

</div>

There is a Reset Bump staff action available now via the topic wrench.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [Septembre 6, 2025, 3:57 UTC](https://meta.discourse.org/t/resetting-latest-activity-after-a-post-deletion/56602/17 "2025-09-06T15:57:49Z")

</div>

L’activité est maintenant réinitialisée automatiquement après la suppression d’une publication

> <https://github.com/discourse/discourse/commit/ebc5703b42bd64c0e5a182969b9d11df983a5992>
>
> Necro-posting by spammers will bump the topic, and once you delete them,
> those t…opics will still sit in \`/latest\` without any benifit.
> 
> This commit implements automatic resetting of topic bump date when a
> post is deleted, so the topic will go to the correct place it belongs on
> \`/latest\` based on its last public post.
