Add missing version properties.

master
Tom Hacohen 2017-12-13 12:29:49 +00:00
parent a7eb74bee1
commit cf396ff904
2 changed files with 2 additions and 0 deletions

View File

@ -226,6 +226,7 @@ class ContactEdit extends React.Component {
let comp = contact.comp;
comp.updatePropertyWithValue('prodid', '-//iCal.js EteSync Web');
comp.updatePropertyWithValue('version', '4.0');
comp.updatePropertyWithValue('uid', this.state.uid);
comp.updatePropertyWithValue('fn', this.state.fn);

View File

@ -22,6 +22,7 @@ export class EventType extends ICAL.Event {
toIcal() {
let comp = new ICAL.Component(['vcalendar', [], []]);
comp.updatePropertyWithValue('prodid', '-//iCal.js EteSync Web');
comp.updatePropertyWithValue('version', '4.0');
comp.addSubcomponent(this.component);
return comp.toString();