Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clone organizer, uuid and attendee to new calendar entry #8

Closed
JM-Lemmi opened this issue Dec 14, 2021 · 2 comments
Closed

Clone organizer, uuid and attendee to new calendar entry #8

JM-Lemmi opened this issue Dec 14, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@JM-Lemmi
Copy link
Owner

ical-relay/handlers.go

Lines 103 to 108 in df6fc05

// exclude organizer, uuid, attendee property due to broken escaping
for _, property := range event.Properties {
if (property.IANAToken != string(ics.ComponentPropertyOrganizer)) && (property.IANAToken != string(ics.ComponentPropertyUniqueId) && (property.IANAToken != string(ics.ComponentPropertyAttendee))) {
newEvent.Properties = append(newEvent.Properties, property)
}
}

@JM-Lemmi JM-Lemmi added the bug Something isn't working label Dec 14, 2021
@JM-Lemmi
Copy link
Owner Author

Shouldn't it be possible to just copy the full Event object into the new calendar?

@JM-Lemmi
Copy link
Owner Author

Mabye add a "Delete Event" function to upstream to makes this unnecessary. Then a new calendar would not be necessary, but the original one could just be edited.

@JM-Lemmi JM-Lemmi mentioned this issue Dec 19, 2021
@JM-Lemmi JM-Lemmi self-assigned this Dec 23, 2021
JM-Lemmi added a commit that referenced this issue Jan 31, 2022
robske110 pushed a commit that referenced this issue Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant