mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 19:01:54 +08:00

If `default email digest frequency` was set to "Never", users would get a `digest_after_minutes` set to `nil` which triggered this error in the logs if/when the site eventually changed that setting and enabled digests: ``` NoMethodError (undefined method `>=' for nil:NilClass) /var/www/discourse/app/mailers/user_notifications.rb:227:in `digest' ```