mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 10:41:45 +08:00
d51019ee53
There were actually 2 bugs: 1/ Calling '.try(:key)' on a hash doesn't work. So EmailLogs were never associated to a user. 2/ Turns out that we update the 'user.last_emailed_at' whenever we create an EmailLog (in the 'after_create' callback). So we need to always create an EmailLog (whenever the email is sent or skipped). |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |