testing ics / h-event import

This commit is contained in:
les
2020-10-14 21:13:20 +02:00
parent a9c81c575b
commit 7ce02c9e1e
9 changed files with 1373 additions and 195 deletions

View File

@@ -87,7 +87,7 @@ Event.prototype.toAP = function (username, locale, to = []) {
id: `${config.baseurl}/federation/m/${this.id}`,
name: this.title,
url: `${config.baseurl}/event/${this.id}`,
type: 'Event',
type: 'Note',
startTime: moment.unix(this.start_datetime).locale(locale).format(),
endTime: moment.unix(this.end_datetime).locale(locale).format(),
location: {