No notification for "Post hidden by community flags"

AI-generated summary

No notification for “Post hidden by community flags”

A bug has been reported where users do not receive notifications when their posts are automatically hidden due to multiple flags. jomaxro described the issue and provided steps to reproduce. codinghorror confirmed the bug and requested immediate attention from the development team.

neil investigated the issue and found that the notification works when creating the system message from the rails console but not through the UI. He later reported making a fix for this issue, which was tested back to January 1, 2016. Additionally, PorkyTheChop mentioned a related issue where sometimes moderators’ responses to flags are not notified to the users who made the flag.

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.
「いいね!」 4

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:

「いいね!」 6

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.

「いいね!」 1

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

「いいね!」 8

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.