summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2023-11-09 19:56:39 +0100
committerGitHub <noreply@github.com>2023-11-09 19:56:39 +0100
commit7248d9b091d50f965d777516e15788aacd75c4fa (patch)
treedbac3bec39b8be697f719519e39eec65cede93c5 /lib/public
parent5183ba2a5b9a45a47a822d86122fece30aec4976 (diff)
parentf14a4f8fd73c71e76a9747ac51e657030f5bb835 (diff)
downloadnextcloud-server-7248d9b091d50f965d777516e15788aacd75c4fa.tar.gz
nextcloud-server-7248d9b091d50f965d777516e15788aacd75c4fa.zip
Merge pull request #40615 from nextcloud/enh/automate-calendar-event-user-status
feat(user status): automate user status for events
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/UserStatus/IUserStatus.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/public/UserStatus/IUserStatus.php b/lib/public/UserStatus/IUserStatus.php
index 74c54cc9da2..c96d07d298b 100644
--- a/lib/public/UserStatus/IUserStatus.php
+++ b/lib/public/UserStatus/IUserStatus.php
@@ -53,6 +53,12 @@ interface IUserStatus {
/**
* @var string
+ * @since 28.0.0
+ */
+ public const BUSY = 'busy';
+
+ /**
+ * @var string
* @since 20.0.0
*/
public const OFFLINE = 'offline';
@@ -76,6 +82,18 @@ interface IUserStatus {
public const MESSAGE_AVAILABILITY = 'availability';
/**
+ * @var string
+ * @since 28.0.0
+ */
+ public const MESSAGE_CALENDAR_BUSY = 'meeting';
+
+ /**
+ * @var string
+ * @since 28.0.0
+ */
+ public const MESSAGE_CALENDAR_BUSY_TENTATIVE = 'busy-tentative';
+
+ /**
* Get the user this status is connected to
*
* @return string