diff options
author | Daniel <mail@danielkesselberg.de> | 2024-07-01 23:25:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-01 23:25:43 +0200 |
commit | 92acbb0d39728b9bfc7530957611ff19aec31d84 (patch) | |
tree | c8f0f1df41fea66794f17daf087b2f2be44cffb4 /lib/public | |
parent | 55f3e53695933bbc2d928185694cd1b67fd46fef (diff) | |
parent | a9774741e815c02a9f5973bf6477a7c9da653732 (diff) | |
download | nextcloud-server-92acbb0d39728b9bfc7530957611ff19aec31d84.tar.gz nextcloud-server-92acbb0d39728b9bfc7530957611ff19aec31d84.zip |
Merge pull request #45766 from nextcloud/feat/ooo-replacement
Feat: Allow users to select another user as their out-of-office replacement
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/User/IOutOfOfficeData.php | 16 |
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 |