Page MenuHomePhorge

D4481.1775549019.diff
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

D4481.1775549019.diff

diff --git a/lib/kolab_sync_data_calendar.php b/lib/kolab_sync_data_calendar.php
--- a/lib/kolab_sync_data_calendar.php
+++ b/lib/kolab_sync_data_calendar.php
@@ -560,6 +560,22 @@
}
$event['attendees'] = $attendees;
+
+ // Outlook does not send the correct attendee status when changing between accepted and tentative, but it toggles the busyStatus.
+ if ($is_outlook) {
+ $status = null;
+ if ($data->busyStatus == self::BUSY_STATUS_BUSY) {
+ $status = "ACCEPTED";
+ } else if ($data->busyStatus == self::BUSY_STATUS_TENTATIVE) {
+ $status = "TENTATIVE";
+ }
+
+ if ($status) {
+ $this->logger->debug("Updating our attendee status based on the busy status to {$status}.");
+ $this->update_attendee_status($event, $status);
+ }
+ }
+
$event['categories'] = $categories;
$event['exceptions'] = isset($event['recurrence']['EXCEPTIONS']) ? $event['recurrence']['EXCEPTIONS'] : array();

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 7, 8:03 AM (3 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18835925
Default Alt Text
D4481.1775549019.diff (1 KB)

Event Timeline