mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 11:43:44 +08:00
698c3ced15
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. |
||
---|---|---|
.. | ||
chat_mailer_spec.rb | ||
chat_message_creator_spec.rb | ||
chat_message_rate_limiter_spec.rb | ||
chat_message_updater_spec.rb | ||
chat_seeder_spec.rb |