[WIP] Edit email on a per-calendar basis #5884
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This intends to partially address #2617.
The overall idea is that the
calendarEmail
string attribute will be added to each calendar, which will be modifiable, just like the calendar name currently is. When an invitation is prepared, this attribute will be checked. If it isn't empty, the set value will be used, otherwise the organizer's email will be used as the organizer name in the invitation.I would also like to add the ability to disable sending invitations from Nextcloud and let my calendar client (e.g., Thunderbird) take care of it, using the invitation with the user-selected email as described above. I have not yet implemented this part at all.
Is this a valuable feature? Does this approach make sense? If so, could you please point me to the code that prepares the invitation? I guess it interacts with
dav
, but it's unclear to me how.Thanks in advance for giving me the pointers I need to contribute!