mirror of
https://github.com/discourse/discourse.git
synced 2025-03-22 21:45:58 +08:00

This sets the last_emailed_at for imported users to now which postpones the sending of digest emails for the configured amount of time. Therefore, the first digest email gets sent after 1 week (the default value of default_digest_email_frequency). As suggested in https://meta.discourse.org/t/dont-trigger-digests-on-migration/26345/7