# Does anyone get notified when something is flagged?

**URL:** https://meta.discourse.org/t/does-anyone-get-notified-when-something-is-flagged/25867
**Category:** Support
**Created:** [01.Март.2015 23:28:00 UTC](https://meta.discourse.org/t/does-anyone-get-notified-when-something-is-flagged/25867 "2015-03-01T23:28:00Z")
**Posts on this page:** 7
**Page:** 2

<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: [10.Февраль.2016 20:13:48 UTC](https://meta.discourse.org/t/does-anyone-get-notified-when-something-is-flagged/25867/21 "2016-02-10T20:13:48Z")

</div>

I don’t think so, since I just got a “please handle these old flags” email about a week ago from a live, up to date Discourse instance.

Proof:

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

---

<div class="post-metadata">

### Author: ![ljpp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ljpp/32/96506_2.png) [@ljpp](https://meta.discourse.org/u/ljpp)
#### Post date: [10.Февраль.2016 21:41:34 UTC](https://meta.discourse.org/t/does-anyone-get-notified-when-something-is-flagged/25867/22 "2016-02-10T21:41:34Z")

</div>

Is there some “intelligence” in Discourse regarding the decision to send the mail? Just made a test flag myself and now waiting.

- Does it ignore flags made by myself?
- Does it skip sending if Admins or Mods are actually online, but just do not handle the flag?
- Anything else I should be aware of when trying _not to reproduce_ this.

---

<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: [10.Февраль.2016 23:12:30 UTC](https://meta.discourse.org/t/does-anyone-get-notified-when-something-is-flagged/25867/23 "2016-02-10T23:12:30Z")

</div>

Pretty sure admins have to be offline to get the mail. Not all of them, but the ones that are offline will get notified. Perhaps @neil can clarify the actual logic here?

---

<div class="post-metadata">

### Author: ![ljpp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ljpp/32/96506_2.png) [@ljpp](https://meta.discourse.org/u/ljpp)
#### Post date: [11.Февраль.2016 09:04:40 UTC](https://meta.discourse.org/t/does-anyone-get-notified-when-something-is-flagged/25867/24 "2016-02-11T09:04:40Z")

</div>

Yeah, would love to hear the logic. I tried a test flag and slept over night and no notification was sent out (checked from mail server logs too). My notification threshold is 2 hours.

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [12.Февраль.2016 19:33:49 UTC](https://meta.discourse.org/t/does-anyone-get-notified-when-something-is-flagged/25867/25 "2016-02-12T19:33:49Z")

</div>

I found a bug: 🐜

The notification threshold setting was being ignored. 48 hours was the hard-coded threshold in the query. I fixed!

The email goes to the address in the “contact email” setting, so be sure that’s set. Otherwise, the logic is straight-forward: if there are flags after X hours, send the email. It doesn’t care if admin/mods have been offline or not.

---

<div class="post-metadata">

### Author: ![ljpp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ljpp/32/96506_2.png) [@ljpp](https://meta.discourse.org/u/ljpp)
#### Post date: [12.Февраль.2016 20:15:39 UTC](https://meta.discourse.org/t/does-anyone-get-notified-when-something-is-flagged/25867/26 "2016-02-12T20:15:39Z")

</div>

Aha, I knew it! @codinghorror is made of teflon - bugs wont stick. 😜

---

<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: [12.Февраль.2016 20:45:20 UTC](https://meta.discourse.org/t/does-anyone-get-notified-when-something-is-flagged/25867/27 "2016-02-12T20:45:20Z")

</div>



[Предыдущая страница](https://meta.discourse.org/t/does-anyone-get-notified-when-something-is-flagged/25867.md?page=1)
