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
Put calendar invites into the user's first available calendar #32361
Conversation
A related problem occurs when you do the following
-> The event isn't shown because it's put into the deleted calendar. In other words, maybe we should find the first own, read-write and non-deleted calendar :) |
If there's no default calendar and we can't find anything with URI 'personal', instead of creating a new one, start by using the first "real personal calendar" available. If not, then we create the default one. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
57875de
to
a7b2e8a
Compare
That's what this PR does now, I had just forgot to check for the deleted state of the calendar. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…n the current calendar is in the trashbin Follow-up to #32361, see nextcloud/calendar#4098 for details Signed-off-by: Thomas Citharel <tcit@tcit.fr>
…n the current calendar is in the trashbin Follow-up to #32361, see nextcloud/calendar#4098 for details Signed-off-by: Thomas Citharel <tcit@tcit.fr>
…n the current calendar is in the trashbin Follow-up to #32361, see nextcloud/calendar#4098 for details Signed-off-by: Thomas Citharel <tcit@tcit.fr>
If there's no default calendar and we can't find anything with URI 'personal', instead of creating a new one, start by using the first "real personal calendar" available.
If not, then we create the default one.