mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-22 20:13:52 +00:00
Using the actual user locale in NotificationSetNotification if available
This commit is contained in:
1 parent
9b40edc08d
commit
d47e1cb70e
1 file changed
+1
-2
+1
-2
@@ -29,8 +29,7 @@ public abstract class NotificationSetNotification<T> implements MailNotification
|
||||
// TODO idea (c) by Axel Uhl: In case of performance/mail queue problems: group mail addresses by locale and
|
||||
// send batches with the actual mail addresses as bcc?
|
||||
associatedNotificationSet.forUsersWithVerifiedEmailMappedTo(objectToNotifyAbout, (user) -> {
|
||||
// TODO user defined locale
|
||||
Locale locale = Locale.ENGLISH;
|
||||
Locale locale = user.getLocaleOrDefault();
|
||||
Multipart multipart = new MimeMultipart();
|
||||
BodyPart bodyPart = new MimeBodyPart();
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user