From f14a4f8fd73c71e76a9747ac51e657030f5bb835 Mon Sep 17 00:00:00 2001 From: Anna Larch Date: Mon, 25 Sep 2023 14:47:02 +0200 Subject: feat(user status): automate user status for events and automatically set a user status to free or busy depending on their calendar transparency, event status and availability settings Signed-off-by: Anna Larch --- lib/public/UserStatus/IUserStatus.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'lib/public') 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 @@ -51,6 +51,12 @@ interface IUserStatus { */ public const DND = 'dnd'; + /** + * @var string + * @since 28.0.0 + */ + public const BUSY = 'busy'; + /** * @var string * @since 20.0.0 @@ -75,6 +81,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 * -- cgit v1.2.3