aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/User/AvailabilityCoordinator.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/User/AvailabilityCoordinator.php')
-rw-r--r--lib/private/User/AvailabilityCoordinator.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/User/AvailabilityCoordinator.php b/lib/private/User/AvailabilityCoordinator.php
index 5017a85c28b..988f2e55260 100644
--- a/lib/private/User/AvailabilityCoordinator.php
+++ b/lib/private/User/AvailabilityCoordinator.php
@@ -61,6 +61,8 @@ class AvailabilityCoordinator implements IAvailabilityCoordinator {
$cachedData['endDate'],
$cachedData['shortMessage'],
$cachedData['message'],
+ $cachedData['replacementUserId'],
+ $cachedData['replacementUserDisplayName'],
);
}
@@ -72,6 +74,8 @@ class AvailabilityCoordinator implements IAvailabilityCoordinator {
'endDate' => $data->getEndDate(),
'shortMessage' => $data->getShortMessage(),
'message' => $data->getMessage(),
+ 'replacementUserId' => $data->getReplacementUserId(),
+ 'replacementUserDisplayName' => $data->getReplacementUserDisplayName(),
], JSON_THROW_ON_ERROR);
} catch (JsonException $e) {
$this->logger->error('Failed to serialize out-of-office data: ' . $e->getMessage(), [