# No notification for "Post hidden by community flags"

**URL:** https://meta.discourse.org/t/no-notification-for-post-hidden-by-community-flags/69880
**Category:** Bug
**Created:** [September 12, 2017, 9:42am UTC](https://meta.discourse.org/t/no-notification-for-post-hidden-by-community-flags/69880 "2017-09-12T09:42:05Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [September 12, 2017, 9:42am UTC](https://meta.discourse.org/t/no-notification-for-post-hidden-by-community-flags/69880/1 "2017-09-12T09:42:05Z")

</div>

When a user’s post is automatically hidden due to multiple flags, they receive a PM from the `site contact username`, default `system`. However, they are not notified of this PM, nor does the normal green circle indicator appear on their avatar.

Steps to reproduce:

1. User A makes a bad post (or topic).
2. Users B, C, and D flag the post.
3. User A’s post is auto-hidden and they are sent a PM.
4. User A does not receive a notification about the PM/hidden post.

---

<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: [September 12, 2017, 10:18am UTC](https://meta.discourse.org/t/no-notification-for-post-hidden-by-community-flags/69880/2 "2017-09-12T10:18:08Z")

</div>

Oh yeah I can definitely repro on try. This is a bad regression, can you look at it ASAP @neil or whoever else is available?

At least the hidden post itself does contain a reminder to check your messages, if you happen to visit it:

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/d/2d3199f199d1e4b3a8e0eff851a082563f2f9299.jpg)

---

<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: [September 12, 2017, 3:34pm UTC](https://meta.discourse.org/t/no-notification-for-post-hidden-by-community-flags/69880/7 "2017-09-12T15:34:38Z")

</div>

All I can figure out is that it works when I create the system message from the rails console, but not using UI. Time to git bisect.

---

<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: [September 12, 2017, 8:12pm UTC](https://meta.discourse.org/t/no-notification-for-post-hidden-by-community-flags/69880/8 "2017-09-12T20:12:12Z")

</div>

I made a fix for this today. Tested back to Jan 1, 2016 and it wasn’t working then either.

---

<div class="post-metadata">

### Author: ![PorkyTheChop](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/porkythechop/32/97774_2.png) [@PorkyTheChop](https://meta.discourse.org/u/PorkyTheChop)
#### Post date: [September 12, 2017, 8:34pm UTC](https://meta.discourse.org/t/no-notification-for-post-hidden-by-community-flags/69880/9 "2017-09-12T20:34:06Z")

</div>

I’ve also noticed this when a moderator responds to a flag that I have made. Not every time, but sometimes it does not notify me that the moderator has responded.

---

<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: [September 12, 2017, 8:37pm UTC](https://meta.discourse.org/t/no-notification-for-post-hidden-by-community-flags/69880/10 "2017-09-12T20:37:09Z")

</div>


