mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 18:19:22 +03:00
Fix Sieve math-type and comparator handling
This commit is contained in:
parent
92a6027aa0
commit
3893849d21
12 changed files with 128 additions and 48 deletions
|
|
@ -58,8 +58,9 @@ export class MetadataTest extends TestCommand
|
|||
toString()
|
||||
{
|
||||
return 'metadata '
|
||||
+ ' ' + this.match_type
|
||||
+ (this.comparator ? ' :comparator ' + this.comparator : '')
|
||||
+ ' ' + this._match_type
|
||||
+ (this.relational_match ? ' ' + this.relational_match : '')
|
||||
+ (this._comparator ? ' :comparator ' + this._comparator : '')
|
||||
+ ' ' + this._mailbox
|
||||
+ ' ' + this._annotation_name
|
||||
+ ' ' + this.key_list;
|
||||
|
|
@ -124,8 +125,9 @@ export class ServerMetadataTest extends TestCommand
|
|||
toString()
|
||||
{
|
||||
return 'servermetadata '
|
||||
+ ' ' + this.match_type
|
||||
+ (this.comparator ? ' :comparator ' + this.comparator : '')
|
||||
+ ' ' + this._match_type
|
||||
+ (this.relational_match ? ' ' + this.relational_match : '')
|
||||
+ (this._comparator ? ' :comparator ' + this._comparator : '')
|
||||
+ ' ' + this._annotation_name
|
||||
+ ' ' + this.key_list;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue