-
Notifications
You must be signed in to change notification settings - Fork 6
Feature/#549 improve invite emails gmail fix #614
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| variables.put("useEduID", invitation.isEduIDOnly() && invitation.getIntendedAuthority().equals(Authority.GUEST)); | ||
|
|
||
| Map<String, String> images = new HashMap<>(); | ||
| if(invitation.isEduIDOnly() && invitation.getIntendedAuthority().equals(Authority.GUEST)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The invitation does not have to be for a GUEST. All authorities are allowed. Remove the second and clause (and possible swap if / else and negation.
| // } | ||
| // }); | ||
| // } | ||
| // *** NIEUW: Voeg inline images toe via CID *** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
English please
|
|
||
| private void addInlineImages(MimeMessageHelper helper, Map<String, String> imagePathsMap) { | ||
| imagePathsMap.forEach((cid, resourcePath) -> { | ||
| try { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ik zou @SneakyThrows gebruiken en geen leeg catch block
No description provided.