0
0
Fork 0

New welcome email (#28883)

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
This commit is contained in:
HTeuMeuLeu 2024-03-01 13:16:53 +01:00 committed by GitHub
parent 3389c41b58
commit 934cab7508
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
102 changed files with 619 additions and 318 deletions

View file

@ -490,7 +490,7 @@ class User < ApplicationRecord
BootstrapTimelineWorker.perform_async(account_id)
ActivityTracker.increment('activity:accounts:local')
ActivityTracker.record('activity:logins', id)
UserMailer.welcome(self).deliver_later
UserMailer.welcome(self).deliver_later(wait: 1.hour)
TriggerWebhookWorker.perform_async('account.approved', 'Account', account_id)
end