# Can't remove a delete replies topic timer

**URL:** https://meta.discourse.org/t/cant-remove-a-delete-replies-topic-timer/151503
**Category:** Bug
**Tags:** topic-timers
**Created:** [May 14, 2020, 3:53pm UTC](https://meta.discourse.org/t/cant-remove-a-delete-replies-topic-timer/151503 "2020-05-14T15:53:04Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [May 16, 2020, 8:38am UTC](https://meta.discourse.org/t/cant-remove-a-delete-replies-topic-timer/151503/4 "2020-05-16T08:38:03Z")

</div>

I think this should be fixed by:

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

I have asked a review from @vinothkannans as he worked on this. I feel like the spec here should be reworked, we currently randomly test on few types, but we should have a context for each type which would test create/update/delete.

What was happening here, is that we were requiring a duration for delete\_replies type even when removing it, when we actually rely on the fact that duration is nil to remove the timer.

---

_[View the full topic](https://meta.discourse.org/t/cant-remove-a-delete-replies-topic-timer/151503)._
