chore(events): update VALARM description branding (#841)

Co-authored-by: lethemanh <lethemanh@lethemanhs-MacBook-Pro.local>
This commit is contained in:
vttran
2026-04-28 14:56:38 +07:00
committed by GitHub
parent 191296346e
commit 00e00594a2
+7 -2
View File
@@ -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]])
} }