mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Fix Sieve QuotedString handling
This commit is contained in:
parent
257d9201f6
commit
61c2eefec1
13 changed files with 185 additions and 104 deletions
|
|
@ -30,6 +30,20 @@ export class VacationCommand extends ActionCommand
|
|||
// get require() { return ['vacation','vacation-seconds']; }
|
||||
get require() { return 'vacation'; }
|
||||
|
||||
get days() { return this._days.value; }
|
||||
get seconds() { return this._seconds.value; }
|
||||
get subject() { return this._subject.value; }
|
||||
get from() { return this._from.value; }
|
||||
get handle() { return this._handle.value; }
|
||||
get reason() { return this._reason.value; }
|
||||
|
||||
set days(int) { this._days.value = int; }
|
||||
set seconds(int) { this._seconds.value = int; }
|
||||
set subject(str) { this._subject.value = str; }
|
||||
set from(str) { this._from.value = str; }
|
||||
set handle(str) { this._handle.value = str; }
|
||||
set reason(str) { this._reason.value = str; }
|
||||
|
||||
toString()
|
||||
{
|
||||
let result = 'vacation';
|
||||
|
|
@ -56,20 +70,6 @@ export class VacationCommand extends ActionCommand
|
|||
return result + ' ' + this._reason;
|
||||
}
|
||||
|
||||
get days() { return this._days.value; }
|
||||
get seconds() { return this._seconds.value; }
|
||||
get subject() { return this._subject.value; }
|
||||
get from() { return this._from.value; }
|
||||
get handle() { return this._handle.value; }
|
||||
get reason() { return this._reason.value; }
|
||||
|
||||
set days(int) { this._days.value = int; }
|
||||
set seconds(int) { this._seconds.value = int; }
|
||||
set subject(str) { this._subject.value = str; }
|
||||
set from(str) { this._from.value = str; }
|
||||
set handle(str) { this._handle.value = str; }
|
||||
set reason(str) { this._reason.value = str; }
|
||||
|
||||
pushArguments(args)
|
||||
{
|
||||
this._reason.value = args.pop().value; // GrammarQuotedString
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue