mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 06:27:02 +03:00
Simplify Sieve Parser and added RFC5235
This commit is contained in:
parent
22964f1fde
commit
d9865e3a46
11 changed files with 308 additions and 92 deletions
|
|
@ -236,17 +236,17 @@ class True extends Test
|
|||
}
|
||||
}
|
||||
|
||||
Sieve.Tests = {
|
||||
Address: Address,
|
||||
Allof: AllOf,
|
||||
Anyof: AnyOf,
|
||||
Envelope: Envelope,
|
||||
Exists: Exists,
|
||||
False: False,
|
||||
Header: Header,
|
||||
Not: Not,
|
||||
Size: Size,
|
||||
True: True
|
||||
};
|
||||
Object.assign(Sieve.Commands, {
|
||||
address: Address,
|
||||
allof: AllOf,
|
||||
anyof: AnyOf,
|
||||
envelope: Envelope,
|
||||
exists: Exists,
|
||||
false: False,
|
||||
header: Header,
|
||||
not: Not,
|
||||
size: Size,
|
||||
true: True
|
||||
});
|
||||
|
||||
})(this.Sieve);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue