mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
Fix predefined message
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
4f7f4d74db
commit
159272bb93
1 changed files with 6 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue