Bugfix: handle multiple DKIM signatures authentication results

This commit is contained in:
the-djmaze 2022-12-21 20:51:33 +01:00
parent 219b155ede
commit 315f2a345a
7 changed files with 90 additions and 217 deletions

View file

@ -259,14 +259,12 @@ export class EmailModel extends AbstractModel {
* @param {string=} email = ''
* @param {string=} name = ''
* @param {string=} dkimStatus = 'none'
* @param {string=} dkimValue = ''
*/
constructor(email = '', name = '', dkimStatus = 'none', dkimValue = '') {
constructor(email = '', name = '', dkimStatus = 'none') {
super();
this.email = email;
this.name = name;
this.dkimStatus = dkimStatus;
this.dkimValue = dkimValue;
this.clearDuplicateName();
}
@ -290,7 +288,6 @@ export class EmailModel extends AbstractModel {
this.name = '';
this.dkimStatus = 'none';
this.dkimValue = '';
}
/**