Added links to iCal again

pull/277/head
nicolas 2021-06-20 17:04:00 +02:00
parent ebc42f0c96
commit 9007bbed29
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ export default class EventOrganizerMail extends EventMail {
startInputType: 'utc', startInputType: 'utc',
productId: 'calendso/ics', productId: 'calendso/ics',
title: `${this.calEvent.type} with ${this.calEvent.attendees[0].name}`, title: `${this.calEvent.type} with ${this.calEvent.attendees[0].name}`,
description: this.calEvent.description, description: this.calEvent.description + this.stripHtml(this.getAdditionalBody()) + this.stripHtml(this.getAdditionalFooter()),
duration: { minutes: dayjs(this.calEvent.endTime).diff(dayjs(this.calEvent.startTime), 'minute') }, duration: { minutes: dayjs(this.calEvent.endTime).diff(dayjs(this.calEvent.startTime), 'minute') },
organizer: { name: this.calEvent.organizer.name, email: this.calEvent.organizer.email }, organizer: { name: this.calEvent.organizer.name, email: this.calEvent.organizer.email },
attendees: this.calEvent.attendees.map( (attendee: any) => ({ name: attendee.name, email: attendee.email }) ), attendees: this.calEvent.attendees.map( (attendee: any) => ({ name: attendee.name, email: attendee.email }) ),