Conversation
alecslupu
left a comment
There was a problem hiding this comment.
Maybe we could find another way of disabling this line...
|
I think we could pass some extra data with the We could add there e.g. So regarding this, few questions to @arusa :
Let us know, so we know how to proceed with this. As a side effect, I think the user might receive the welcome notification twice, once as the initial email and once with the daily/weekly digest email but I would see this acceptable tradeoff just to fix this issue at hand. Otherwise we would need to change the notification email to be an individual email outside of the event context + do also some changes in the event notification programming API to support preventing sending some particular emails. The suggested approach would be much simpler to implement. |
|
@arusa , please see @ahukkanen's comment. |
|
As this PR didn't have any much activity since a couple of months, I went ahead and fixed the original problem on #10991. Thanks for the report @arusa and thanks for the explanation on how to fix this @ahukkanen I'm closing this issue as its already handled on #10991 |
10 Months ago there was a check added, that only allows notification mails to be sent to users with notifications_sending_frequency == "real_time"
The problem with that is, that in decidim 0.27 new users don't get any welcome notification mails anymore, because new users by default have notifications_sending_frequency set as "daily".
I just commented out the line that breaks welcome mails for my decidim installation.
A better fix would probably be to make an exception for the event "decidim.events.core.welcome_notification".