mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Added Sieve extension rfc6134 partial
This commit is contained in:
parent
63de537f8f
commit
e4bd24b4e8
13 changed files with 76 additions and 31 deletions
|
|
@ -70,7 +70,7 @@ export class GrammarCommand
|
|||
result += ' ' + arrayToString(this.arguments, ' ');
|
||||
}
|
||||
return result + (
|
||||
this.commands.length ? ' ' + this.commands.toString() : ';'
|
||||
this.commands.length ? ' ' + this.commands : ';'
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -240,6 +240,12 @@ export class GrammarTest
|
|||
|
||||
toString()
|
||||
{
|
||||
/*
|
||||
// https://datatracker.ietf.org/doc/html/rfc6134#section-2.3
|
||||
if (':list' == this.match_type && !capa.includes('extlists')) {
|
||||
throw 'Unsupported match-type ' + this.match_type;
|
||||
}
|
||||
*/
|
||||
return (this.identifier
|
||||
+ (this.comparator ? ' :comparator ' + this.comparator : '')
|
||||
+ (this.match_type ? ' ' + this.match_type : '')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue