Doubly accepted event invitation handling
Steps to reproduce
- Receive an event invite
- Accept it
- Accept it
Expected behavior
This is somehow handled
Actual behavior
https://github.com/nextcloud/mail/pull/6956#issuecomment-1231746598
Mail app version
2.0.0 beta 4
Mailserver or service
No response
Operating system
No response
PHP engine version
No response
Web server
No response
Database
No response
Additional info
@st3iny I'm transferring the old review comment. See if you can reproduce. If you can't close the ticket.
I tried to reproduce it locally and it worked fine. Even if the accepted event is in another calendar (tried to reproduce your setup).
My early versions of the feature only checked the first/default calendar. Later, I implemented a check across all calendars and this likely fixed the issue.
However, handling of deleted events is weird. A user will see the invitation response buttons after deleting an already accepted/declined event and reacting again will fail because the uid is already taken.
This could be circumvented by also checking the trash and showing a special message like "You deleted the event". I'm not sure if it's worth the effort and should be prioritized (especially with https://github.com/nextcloud/mail/pull/7710 being merged).
Is there anything left to do?
@st3iny is there anything else to be done here, can we close it?