diff options
Diffstat (limited to 'apps/user_status/lib/Service')
-rw-r--r-- | apps/user_status/lib/Service/PredefinedStatusService.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/user_status/lib/Service/PredefinedStatusService.php b/apps/user_status/lib/Service/PredefinedStatusService.php index 354e0f16b32..40f6052aa95 100644 --- a/apps/user_status/lib/Service/PredefinedStatusService.php +++ b/apps/user_status/lib/Service/PredefinedStatusService.php @@ -26,6 +26,7 @@ declare(strict_types=1); namespace OCA\UserStatus\Service; use OCP\IL10N; +use OCP\UserStatus\IUserStatus; /** * Class DefaultStatusService @@ -41,6 +42,9 @@ class PredefinedStatusService { private const SICK_LEAVE = 'sick-leave'; private const VACATIONING = 'vacationing'; private const REMOTE_WORK = 'remote-work'; + /** + * @depreacted See \OCP\UserStatus\IUserStatus::MESSAGE_CALL + */ public const CALL = 'call'; /** @var IL10N */ @@ -196,7 +200,8 @@ class PredefinedStatusService { self::SICK_LEAVE, self::VACATIONING, self::REMOTE_WORK, - self::CALL, + IUserStatus::MESSAGE_CALL, + IUserStatus::MESSAGE_AVAILABILITY, ], true); } } |