Add missing version properties.

master
Tom Hacohen 7 years ago
parent a7eb74bee1
commit cf396ff904

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

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

Loading…
Cancel
Save