mirror of
https://github.com/nextcloud/server.git
synced 2024-07-28 08:15:55 +02:00
Fix predefined message
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
4f7f4d74db
commit
159272bb93
@ -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 New Issue
Block a user