mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-23 22:36:01 +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;
|
return filters;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue