mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Improved Sieve code and added rfc5435
This commit is contained in:
parent
f453abf149
commit
b3c1723c5c
10 changed files with 165 additions and 65 deletions
|
|
@ -40,8 +40,8 @@ export class SetCommand extends GrammarCommand
|
|||
[':lower', ':upper', ':lowerfirst', ':upperfirst', ':quotewildcard', ':length'].forEach(modifier => {
|
||||
args.includes(modifier) && this.modifiers.push(modifier);
|
||||
});
|
||||
this._name = args[args.length-2];
|
||||
this._value = args[args.length-1];
|
||||
this._value = args.pop();
|
||||
this._name = args.pop();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -65,7 +65,7 @@ export class StringTest extends GrammarTest
|
|||
|
||||
pushArguments(args)
|
||||
{
|
||||
this.source = args[args.length-2];
|
||||
this.key_list = args[args.length-1];
|
||||
this.key_list = args.pop();
|
||||
this.source = args.pop();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue