mirror of
https://github.com/discourse/discourse.git
synced 2025-05-11 15:17:53 +08:00

The mailer in charge of sending chat summary emails applies a filter to ensure only members of groups listed in the `chat allowed groups` setting receive them. However, when you set it to `everyone`, nobody will be notified because we treat this group differently and don't create `GroupUser` records for every user on the site. This commit changes the mailer to skip the filter when the `everyone` ID is in the list.