mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-23 14:26:18 +08:00
Added sample code for sieveparser branch
This commit is contained in:
parent
dd9f277ccf
commit
6f36d4b906
1 changed files with 7 additions and 0 deletions
|
@ -244,6 +244,13 @@ function sieveScriptToFilters(script)
|
|||
}
|
||||
}
|
||||
}
|
||||
/*
|
||||
// TODO: branch sieveparser
|
||||
// https://github.com/the-djmaze/snappymail/tree/sieveparser/dev/Sieve
|
||||
else if (script.length && window.Sieve) {
|
||||
let tree = window.Sieve.parseScript(script);
|
||||
}
|
||||
*/
|
||||
return filters;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue