# Why are posts withdrawn instead of being deleted immediately?

**URL:** https://meta.discourse.org/t/why-are-posts-withdrawn-instead-of-being-deleted-immediately/75985
**Category:** Support
**Created:** [December 13, 2017, 7:10pm UTC](https://meta.discourse.org/t/why-are-posts-withdrawn-instead-of-being-deleted-immediately/75985 "2017-12-13T19:10:17Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![David\_Kwan](https://avatars.discourse-cdn.com/v4/letter/d/dfb087/32.png) [@David\_Kwan](https://meta.discourse.org/u/David_Kwan)
#### Post date: [December 13, 2017, 7:10pm UTC](https://meta.discourse.org/t/why-are-posts-withdrawn-instead-of-being-deleted-immediately/75985/1 "2017-12-13T19:10:18Z")

</div>

Why are posts that users try to delete considered as “withdrawn” for a period of time as opposed to being immediately deleted. I know that you can change this period of time to zero but was just wondering about the reasoning here. I see that it says “unless flagged” so I am guessing that has something to do with it, but don’t fully understand.

---

<div class="post-metadata">

### Author: ![notriddle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/notriddle/32/133055_2.png) [@notriddle](https://meta.discourse.org/u/notriddle)
#### Post date: [December 13, 2017, 7:58pm UTC](https://meta.discourse.org/t/why-are-posts-withdrawn-instead-of-being-deleted-immediately/75985/2 "2017-12-13T19:58:06Z")

</div>

I think it’s mostly there to prevent gaslighting. If you claim to have “not said that,” and there’s a withdrawn post in the timeline, then you just might be lying.

As described [in this old announcement](https://meta.discourse.org/t/improvements-to-self-deleted-posts/8564):

> [@codinghorror](#):
>
> You can still see the original post in the revisions, so nobody can hide weird or abusive content behind deletion.

---

<div class="post-metadata">

### Author: ![David\_Kwan](https://avatars.discourse-cdn.com/v4/letter/d/dfb087/32.png) [@David\_Kwan](https://meta.discourse.org/u/David_Kwan)
#### Post date: [December 14, 2017, 7:08pm UTC](https://meta.discourse.org/t/why-are-posts-withdrawn-instead-of-being-deleted-immediately/75985/3 "2017-12-14T19:08:45Z")

</div>

Thanks Michael. Can you see withdrawn posts anywhere before they are deleted? Can users see them or do they just need to flag a post based on what they remember seeing?

---

<div class="post-metadata">

### Author: ![Sailsman63](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@Sailsman63](https://meta.discourse.org/u/Sailsman63)
#### Post date: [December 14, 2017, 7:43pm UTC](https://meta.discourse.org/t/why-are-posts-withdrawn-instead-of-being-deleted-immediately/75985/5 "2017-12-14T19:43:35Z")

</div>

That must depend on some site settings.

There are several Discourse instances out there where I can see withdrawn posts if I click on them, and I’m certainly not staff. One of them I’m not even a member…

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [December 14, 2017, 7:57pm UTC](https://meta.discourse.org/t/why-are-posts-withdrawn-instead-of-being-deleted-immediately/75985/6 "2017-12-14T19:57:16Z")

</div>

There’s nothing special about the visibility of withdrawn posts as far as I know, withdrawing is a normal edit.

Whether edits are publicly visible can be configured via the site setting `edit history visible to public` 🙂

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [December 15, 2017, 1:21am UTC](https://meta.discourse.org/t/why-are-posts-withdrawn-instead-of-being-deleted-immediately/75985/7 "2017-12-15T01:21:52Z")

</div>

For what it’s worth, IMHO, this could likely be a Staff and OP only feature few non-Staff would even notice missing. Anybody think of a reason for other than those two?

---

<div class="post-metadata">

### Author: ![Sailsman63](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@Sailsman63](https://meta.discourse.org/u/Sailsman63)
#### Post date: [December 15, 2017, 5:13am UTC](https://meta.discourse.org/t/why-are-posts-withdrawn-instead-of-being-deleted-immediately/75985/8 "2017-12-15T05:13:42Z")

</div>

I can’t find detailed discussion about this now, but IIRC, the main rationale for this is to leverage the community for front line moderation support. In particular, the team was concerned about two types of destructive behaviors, mentioned in the linked posts:

[https://meta.discourse.org/t/improvements-to-self-deleted-posts/8564?u=sailsman63](https://meta.discourse.org/t/improvements-to-self-deleted-posts/8564)

> [@Allow users to suspend/close their accounts for good](https://meta.discourse.org/t/allow-users-to-suspend-close-their-accounts-for-good/55029/6):
>
> Destroying conversations by deleting all your posts because you rage quit is not desirable. Contacting staff for anonymization suffices, it is not hard to do. Friction is needed in front of rage quits. The default Creative Commons license – unless you have changed that section of your default TOS – does not allow people to withdraw their posts en masse, just anonymize them.

The first, in particular, can be hard for staff to track in a busy site with many users. Allowing normal users to see withdrawn posts can get extra eyes on potential trolls and bullies, and a few flags on “NOT OK” content can alert staff much more quickly than if they try to review all withdrawn posts and other activity.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [December 15, 2017, 5:31am UTC](https://meta.discourse.org/t/why-are-posts-withdrawn-instead-of-being-deleted-immediately/75985/9 "2017-12-15T05:31:19Z")

</div>

A member mass deleting their posts is a different issue. In terms of

> (post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

I know of no times any such post has been flagged. And as long as Moderators could see post history a topic could be flagged with a type of “hey, so+so called me a so+so then deleted it!” or whatever.

These timed deletes have gotten flagged for some forums?

---

<div class="post-metadata">

### Author: ![JagWaugh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagwaugh/32/69335_2.png) [@JagWaugh](https://meta.discourse.org/u/JagWaugh)
#### Post date: [December 15, 2017, 9:44am UTC](https://meta.discourse.org/t/why-are-posts-withdrawn-instead-of-being-deleted-immediately/75985/10 "2017-12-15T09:44:54Z")

</div>

> [@Mittineague](#):
>
> A member mass deleting their posts is a different issue.

A flag or a warning to the mods might be a good idea. Perhaps a setting for “flag posts deleted/day”.

---

<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: [December 16, 2017, 12:30am UTC](https://meta.discourse.org/t/why-are-posts-withdrawn-instead-of-being-deleted-immediately/75985/11 "2017-12-16T00:30:53Z")

</div>

Does not matter, user self-deletes are rate limited per day.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [February 17, 2020, 4:25pm UTC](https://meta.discourse.org/t/why-are-posts-withdrawn-instead-of-being-deleted-immediately/75985/12 "2020-02-17T16:25:51Z")

</div>



---

<div class="post-metadata">

### Author: ![pnoeric](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pnoeric/32/177144_2.png) [@pnoeric](https://meta.discourse.org/u/pnoeric)
#### Post date: [May 13, 2020, 4:12pm UTC](https://meta.discourse.org/t/why-are-posts-withdrawn-instead-of-being-deleted-immediately/75985/13 "2020-05-13T16:12:22Z")

</div>

I’d like to be able to hide the “post will be withdrawn in 24 hours unless” message completely for non-staff members. I actually like the rationale for this feature a lot (the earlier message in this topic explain it well) but it’s not right for my community right now.

Is there a way to do this? If not, how difficult would it be to get a class added to posts that were deleted?

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

![image](https://global.discourse-cdn.com/meta/original/3X/5/e/5e1a111ae85a5f963f06a8412026fe3f2049fefe.png)

---

<div class="post-metadata">

### Author: ![Stranik](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stranik/32/85638_2.png) [@Stranik](https://meta.discourse.org/u/Stranik)
#### Post date: [May 13, 2020, 6:44pm UTC](https://meta.discourse.org/t/why-are-posts-withdrawn-instead-of-being-deleted-immediately/75985/14 "2020-05-13T18:44:23Z")

</div>

I found my old code, not sure if it works today (didn’t check).

```plaintext
import { withPluginApi } from 'discourse/lib/plugin-api';
import RawHtml from 'discourse/widgets/raw-html'; 
 
function attachComm(api) {
  
   api.addPostClassesCallback((attrs) => {
       return attrs.user_deleted ? ["remote"] : ["rated"]; 
   });  

}
  
export default {
  name: 'alert',
  initialize(container) {
      withPluginApi('0.1', attachComm);
             }
};

```

It was part of the plugin. Perhaps something similar can be done by a component.

> [@Developing Discourse Themes & Theme Components](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648):
>
> Discourse Themes and Theme Components can be used to customize the look, feel and functionality of Discourse’s frontend. This section of the developer guides aims to provide all the reference materials you need to develop simple themes for a single site, right up to complex open-source theme components. This introduction aims to provide a map of all the tools and APIs for theme development. If you prefer a step-by-step tutorial for theme development, jump straight to: Themes vs. Theme Compon…

---

<div class="post-metadata">

### Author: ![pnoeric](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pnoeric/32/177144_2.png) [@pnoeric](https://meta.discourse.org/u/pnoeric)
#### Post date: [May 14, 2020, 12:27pm UTC](https://meta.discourse.org/t/why-are-posts-withdrawn-instead-of-being-deleted-immediately/75985/15 "2020-05-14T12:27:21Z")

</div>

Thank you very much Evgeny! I’ll play with it… looks like just what I need. Much appreciated.

**Update** it works great. I already have a custom plugin (that I developed) for my Discourse install, so it was easy to add the appropriate snippet to the already-existing code. Quick ‘n’ easy, my favorite kind of coding challenges 👍🏻

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [July 24, 2024, 9:13pm UTC](https://meta.discourse.org/t/why-are-posts-withdrawn-instead-of-being-deleted-immediately/75985/16 "2024-07-24T21:13:25Z")

</div>



---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [July 25, 2024, 5:57pm UTC](https://meta.discourse.org/t/why-are-posts-withdrawn-instead-of-being-deleted-immediately/75985/17 "2024-07-25T17:57:12Z")

</div>


