Skip to content

Commit b366db2

Browse files
committed
fixup! fix: handle UID collisions on thunderbird PUT request gracefully
1 parent d1a4ebe commit b366db2

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

apps/dav/lib/Connector/Sabre/ThunderbirdPutInvitationQuirkPlugin.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@
1919
use Sabre\VObject\Reader as VObjectReader;
2020

2121
/**
22-
* Consider the following situation: A user is invited and tries to accept or decline from the
23-
* invitation email in Thunderbird before the personal calendar was synced.
22+
* Consider the following situation: A user is invited and tries to accept or decline the event
23+
* attached to the invitation email in Thunderbird before the personal calendar was synced.
2424
*
2525
* Thunderbird attempts to PUT the accepted ics to an invalid name, because it doesn't know the name
2626
* on the remote Nextcloud/CalDAV server (yet). The Nextcloud server responds with an error, as the
2727
* UID is already existing because the invitation was already added to the invitees personal
2828
* calendar by Sabre.
2929
*
30-
* If Thunderbird knows about the URI of the user's own copy of the event, it will PUT the correct
31-
* event directly.
32-
*
3330
* This plugin attempts to handle this situation gracefully by simply replacing the URI of the event
3431
* with the actual one before handing off the request to the CalDAV server.
32+
*
33+
* Note: If Thunderbird knows about the URI of the user's own copy of the event, it will PUT the
34+
* correct event directly. This is the case after syncing the personal calendar.
3535
*/
3636
class ThunderbirdPutInvitationQuirkPlugin extends ServerPlugin {
3737
private ?Server $server = null;

0 commit comments

Comments
 (0)