summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorHamza Mahjoubi <hamzamahjoubi221@gmail.com>2024-06-10 16:30:53 +0200
committerHamza Mahjoubi <hamzamahjoubi221@gmail.com>2024-07-01 15:10:16 +0200
commita9774741e815c02a9f5973bf6477a7c9da653732 (patch)
tree171ab358957d002bd4e13dea0d532d0c826ca51c /lib/public
parent3b75c5b98cd0356e99c07d9696c49732f195b3f6 (diff)
downloadnextcloud-server-a9774741e815c02a9f5973bf6477a7c9da653732.tar.gz
nextcloud-server-a9774741e815c02a9f5973bf6477a7c9da653732.zip
Feat: Allow users to select another user as their out-of-office replacement
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/User/IOutOfOfficeData.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/public/User/IOutOfOfficeData.php b/lib/public/User/IOutOfOfficeData.php
index c3a5bf90184..19cc1120c4c 100644
--- a/lib/public/User/IOutOfOfficeData.php
+++ b/lib/public/User/IOutOfOfficeData.php
@@ -22,6 +22,8 @@ use OCP\IUser;
* endDate: int,
* shortMessage: string,
* message: string,
+ * replacementUserId: string,
+ * replacementUserDisplayName: string
* }
*
* @since 28.0.0
@@ -70,6 +72,20 @@ interface IOutOfOfficeData extends JsonSerializable {
public function getMessage(): string;
/**
+ * Get the replacement user id for auto responders and similar
+ *
+ * @since 30.0.0
+ */
+ public function getReplacementUserId(): string;
+
+ /**
+ * Get the replacement user displayName for auto responders and similar
+ *
+ * @since 30.0.0
+ */
+ public function getReplacementUserDisplayName(): string;
+
+ /**
* @return OutOfOfficeData
*
* @since 28.0.0