mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Resolve #622
This commit is contained in:
parent
1ced0dcd1e
commit
009b76de24
1 changed files with 4 additions and 4 deletions
|
|
@ -104,10 +104,10 @@
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
line = line.match(/^([^:;]+)[:;](.+)$/);
|
line = line.match(/^([^:;]+)[:;](.+)$/);
|
||||||
if (VALARM) {
|
if (line) {
|
||||||
VALARM[line[1]] = line[2];
|
if (VALARM) {
|
||||||
} else {
|
VALARM[line[1]] = line[2];
|
||||||
if (multiple.includes(line[1]) || 'X-' == line[1].slice(0,2)) {
|
} else if (multiple.includes(line[1]) || 'X-' == line[1].slice(0,2)) {
|
||||||
VEVENT[line[1]] || (VEVENT[line[1]] = []);
|
VEVENT[line[1]] || (VEVENT[line[1]] = []);
|
||||||
VEVENT[line[1]].push(line[2]);
|
VEVENT[line[1]].push(line[2]);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue