chore(events): update VALARM description branding (#841)
Co-authored-by: lethemanh <lethemanh@lethemanhs-MacBook-Pro.local>
This commit is contained in:
@@ -8,7 +8,7 @@ export function makeVevent(
|
|||||||
tzid: string,
|
tzid: string,
|
||||||
calOwnerEmail: string | undefined,
|
calOwnerEmail: string | undefined,
|
||||||
isMasterEvent?: boolean
|
isMasterEvent?: boolean
|
||||||
) {
|
): [string, unknown[]] {
|
||||||
const vevent: [string, unknown[]] = [
|
const vevent: [string, unknown[]] = [
|
||||||
'vevent',
|
'vevent',
|
||||||
[
|
[
|
||||||
@@ -37,7 +37,12 @@ export function makeVevent(
|
|||||||
['action', {}, 'text', event.alarm.action],
|
['action', {}, 'text', event.alarm.action],
|
||||||
['attendee', {}, 'cal-address', `mailto:${calOwnerEmail}`],
|
['attendee', {}, 'cal-address', `mailto:${calOwnerEmail}`],
|
||||||
['summary', {}, 'text', event.title],
|
['summary', {}, 'text', event.title],
|
||||||
['description', {}, 'text', 'This is an automatic alarm sent by OpenPaas']
|
[
|
||||||
|
'description',
|
||||||
|
{},
|
||||||
|
'text',
|
||||||
|
'This is an automatic alarm sent by Twake Calendar'
|
||||||
|
]
|
||||||
]
|
]
|
||||||
vevent.push([['valarm', valarm]])
|
vevent.push([['valarm', valarm]])
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user