diff --git a/nip52/calendar_event.go b/nip52/calendar_event.go index 5b4ba66..0947850 100644 --- a/nip52/calendar_event.go +++ b/nip52/calendar_event.go @@ -25,6 +25,8 @@ type CalendarEvent struct { Participants []Participant References []string Hashtags []string + StartTzid string + EndTzid string } type Participant struct { @@ -91,6 +93,10 @@ func ParseCalendarEvent(event nostr.Event) CalendarEvent { calev.References = append(calev.References, tag[1]) case "t": calev.Hashtags = append(calev.Hashtags, tag[1]) + case "start_tzid": + calev.StartTzid = tag[1] + case "end_tzid": + calev.EndTzid = tag[1] } } return calev