# Do moderators see the latest version of a flagged post when reviewing reports or the post as it was when it was flagged?

**URL:** https://meta.discourse.org/t/do-moderators-see-the-latest-version-of-a-flagged-post-when-reviewing-reports-or-the-post-as-it-was-when-it-was-flagged/40838
**Category:** Support
**Created:** [March 10, 2016, 4:12am UTC](https://meta.discourse.org/t/do-moderators-see-the-latest-version-of-a-flagged-post-when-reviewing-reports-or-the-post-as-it-was-when-it-was-flagged/40838 "2016-03-10T04:12:33Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![Drew\_Warwick](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/drew_warwick/32/80591_2.png) [@Drew\_Warwick](https://meta.discourse.org/u/Drew_Warwick)
#### Post date: [March 10, 2016, 4:12am UTC](https://meta.discourse.org/t/do-moderators-see-the-latest-version-of-a-flagged-post-when-reviewing-reports-or-the-post-as-it-was-when-it-was-flagged/40838/1 "2016-03-10T04:12:33Z")

</div>

Someone posted a personal attack in one of their posts on the Discourse forum I’m using, and I flagged it as “Inappropriate” a minute after it was posted. The post was edited shortly after and the personal attack was removed – there is no edited pencil icon for the post since it was edited so quickly. When the moderators notice the flag in whatever backend moderation queue there is, will they see the post as it was when I flagged it, or the latest, edited version? I’m trying to figure out if I need to undo the flag (will be awkward if the moderators don’t see the post as it was when I flagged it) or not.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 10, 2016, 6:56am UTC](https://meta.discourse.org/t/do-moderators-see-the-latest-version-of-a-flagged-post-when-reviewing-reports-or-the-post-as-it-was-when-it-was-flagged/40838/2 "2016-03-10T06:56:11Z")

</div>

> [@Drew\_Warwick](#):
>
> there is no edited pencil icon

Yeah edits within grace period are invisible and not logged anywhere except for the Rails logs which are very hard to get to.

I follow the concern here but the issue is very rare. Long term we can start storing grace period edits and then purging them after N days. Its a rather complex change that is not scheduled yet but we are ok with in principle.

---

<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: [March 10, 2016, 8:49am UTC](https://meta.discourse.org/t/do-moderators-see-the-latest-version-of-a-flagged-post-when-reviewing-reports-or-the-post-as-it-was-when-it-was-flagged/40838/3 "2016-03-10T08:49:17Z")

</div>

If it’s a real problem just set grace period to zero. Then all edits are logged forever even trivial, 5-seconds-later type.

Nothing necessary to do here, reallly.

---

<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: [March 10, 2016, 12:30pm UTC](https://meta.discourse.org/t/do-moderators-see-the-latest-version-of-a-flagged-post-when-reviewing-reports-or-the-post-as-it-was-when-it-was-flagged/40838/4 "2016-03-10T12:30:44Z")

</div>

Just to provide a bit more detail. It depends on the flag you use. In this case using Inappropriate would not have shown the moderators the exact verbiage, but using Something Else would have, as the Message moderators would have received would have one-boxed the post in question (assuming it was in a public category).

One thing to note, the Flags Admin area, does show the edit, but when the Moderator views the Message, it shows the original content (screenshots below).

Admin \> Flags Area (shows edited message)

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

Clicking Reply: (shows original message)

 ![](https://global.discourse-cdn.com/meta/original/3X/3/4/34cf3753bd4175b22c96a87f1c9b30611b8586c4.png)

Might be off my rocker here, but **_what if_** , we changed the logic for the grace edit window to only apply if no flags are on the given post and it is within the edit time frame?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 10, 2016, 12:36pm UTC](https://meta.discourse.org/t/do-moderators-see-the-latest-version-of-a-flagged-post-when-reviewing-reports-or-the-post-as-it-was-when-it-was-flagged/40838/5 "2016-03-10T12:36:29Z")

</div>

> [@cpradio](#):
>
> Might be off my rocker here, but what if, we changed the logic for the grace edit window to only apply if no flags are on the given post and it is within the edit time frame?

This is an excellent suggestion, grace period should simply reset after a post is flagged. It eliminates an element of griefing. Though, in practice I have never seen this pattern but you never know and people can be krazy.

---

<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: [March 10, 2016, 1:00pm UTC](https://meta.discourse.org/t/do-moderators-see-the-latest-version-of-a-flagged-post-when-reviewing-reports-or-the-post-as-it-was-when-it-was-flagged/40838/6 "2016-03-10T13:00:51Z")

</div>

Thinking on this a bit more, I believe we just recently had a similar scenario (ping @Mittineague and @Technobear who dealt with it on our instance – or at least noticed it).

Granted it does seem super rare that this occurs, but part of me feels that way because those who are handling these type of flags have nothing to go on to identify the edit took place (as there is no history that the mods can see to identify it).

So I do know it happens, but with what frequency, I can’t say because I’m not confident I’ve caught all of them.

---

<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: [March 12, 2016, 1:05am UTC](https://meta.discourse.org/t/do-moderators-see-the-latest-version-of-a-flagged-post-when-reviewing-reports-or-the-post-as-it-was-when-it-was-flagged/40838/7 "2016-03-12T01:05:44Z")

</div>

I have been doing some “paper trail” testing on my localhost.

There are a few settings that might be involved and I haven’t tested all the different possibilities.

```
Admin -> Settings -> Posting 
 editing grace period {300} 
  For (n) seconds after posting, editing will not create a new version in the post history. 
 post edit time limit {86400} 
  The author can edit or delete their post for (n) minutes after posting. Set to 0 for forever. 
 edit history visible to public {true} 
  Allow everyone to see previous versions of an edited post. When disabled, only staff members can view. 
 delete removed posts after {24} 
  Posts removed by the author will be automatically deleted after (n) hours. If set to 0, posts will be deleted immediately.  
 delete old hidden posts {true}
  Auto-delete any hidden posts that stay hidden for more than 30 days. 

Admin -> Settings -> Spam 
 cooldown minutes after hiding posts {10} 
  Number of minutes a user must wait before they can edit a post hidden via community flagging 
 
Admin -> Settings -> User Preferences 
 default other edit history public {true} 
  Make the post revisions public by default.

```

BTW I can no longer find the “edit history public” setting in Profile Preferences,  
I could be missing something, and it could be this has changed and may be involved with the problem.

I guess there are two ways to look at it.

One,  
a user makes a post that is a policy violation  
it gets Flagged  
they see the error of their way and either correct or remove the post  
System wipes the slate clean  
Moderators have no need to see the “juvy” record

Two,  
a user makes a post that is a policy violation  
it gets Flagged  
they realize they were caught and either correct or remove the post  
System wipes the slate clean  
Moderators should be able to see the “juvy” record of the repeat offender

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [March 17, 2016, 6:08am UTC](https://meta.discourse.org/t/do-moderators-see-the-latest-version-of-a-flagged-post-when-reviewing-reports-or-the-post-as-it-was-when-it-was-flagged/40838/8 "2016-03-17T06:08:04Z")

</div>

> [@Mittineague](#):
>
> BTW I can no longer find the “edit history public” setting in Profile Preferences, I could be missing something, and it could be this has changed and may be involved with the problem.

That preference is only available when `edit history visible to public` is turned off. Basically, you can opt back into public edit history, but you can’t opt out of it.

* * *

I agree with @cpradio’s suggestion of “the edit grace period is expired if there’s an active flag on the post”. A very elegant solution.

---

<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: [March 17, 2016, 6:41am UTC](https://meta.discourse.org/t/do-moderators-see-the-latest-version-of-a-flagged-post-when-reviewing-reports-or-the-post-as-it-was-when-it-was-flagged/40838/9 "2016-03-17T06:41:01Z")

</div>

> [@riking](#):
>
> “the edit grace period is expired if there’s an active flag on the post”.

Sure sounds good to me, @techapj can you add this to your list? Low priority.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [March 30, 2016, 6:02pm UTC](https://meta.discourse.org/t/do-moderators-see-the-latest-version-of-a-flagged-post-when-reviewing-reports-or-the-post-as-it-was-when-it-was-flagged/40838/10 "2016-03-30T18:02:19Z")

</div>

Okay, this is now done via:

> <https://github.com/discourse/discourse/commit/6f0137dec999bb7ab5bed6d1b4782fe9f54c0b34>

---

<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: [March 30, 2016, 6:07pm UTC](https://meta.discourse.org/t/do-moderators-see-the-latest-version-of-a-flagged-post-when-reviewing-reports-or-the-post-as-it-was-when-it-was-flagged/40838/11 "2016-03-30T18:07:51Z")

</div>

Hmm this is not what was discussed, grace period should be zero but not disable editing entirely…

---

<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: [March 30, 2016, 6:12pm UTC](https://meta.discourse.org/t/do-moderators-see-the-latest-version-of-a-flagged-post-when-reviewing-reports-or-the-post-as-it-was-when-it-was-flagged/40838/12 "2016-03-30T18:12:00Z")

</div>

Good catch. I missed that entirely, and I (shamefully looks down) looked at the code too.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [March 30, 2016, 6:20pm UTC](https://meta.discourse.org/t/do-moderators-see-the-latest-version-of-a-flagged-post-when-reviewing-reports-or-the-post-as-it-was-when-it-was-flagged/40838/13 "2016-03-30T18:20:38Z")

</div>

~~Oops, fix is on the way.~~ Fixed:

[https://github.com/discourse/discourse/commit/094f7a73d5c6961c2761cabb6a2332645e5fa493](https://github.com/discourse/discourse/commit/094f7a73d5c6961c2761cabb6a2332645e5fa493)

---

<div class="post-metadata">

### Author: ![Drew\_Warwick](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/drew_warwick/32/80591_2.png) [@Drew\_Warwick](https://meta.discourse.org/u/Drew_Warwick)
#### Post date: [March 31, 2016, 4:08am UTC](https://meta.discourse.org/t/do-moderators-see-the-latest-version-of-a-flagged-post-when-reviewing-reports-or-the-post-as-it-was-when-it-was-flagged/40838/14 "2016-03-31T04:08:34Z")

</div>

When will this go live on other Discourse forums?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 31, 2016, 4:10am UTC](https://meta.discourse.org/t/do-moderators-see-the-latest-version-of-a-flagged-post-when-reviewing-reports-or-the-post-as-it-was-when-it-was-flagged/40838/15 "2016-03-31T04:10:52Z")

</div>

![](https://global.discourse-cdn.com/meta/original/3X/6/6/662ec3350eb7b111aa8bd34ad9b8282e9dd6a069.jpg)

Magic eight ball says “outlook is good”

We have no way of controlling when people upgrade (outside of our hosting) this is up to site operators

---

<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: [June 8, 2024, 12:45pm UTC](https://meta.discourse.org/t/do-moderators-see-the-latest-version-of-a-flagged-post-when-reviewing-reports-or-the-post-as-it-was-when-it-was-flagged/40838/16 "2024-06-08T12:45:49Z")

</div>

This topic was automatically closed after 3012 days. New replies are no longer allowed.
