summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2020-09-03 16:23:35 +0200
committerGeorg Ehrke <developer@georgehrke.com>2020-09-07 11:30:18 +0200
commitd7ccc616e42bef9270e3d315baf381c020f747c0 (patch)
tree5ad22c8ce0ea1e9c212e658d4609a31079f21114 /lib/public
parent2146950a711fc49cf48c1ec10230106f5a59d5b9 (diff)
downloadnextcloud-server-d7ccc616e42bef9270e3d315baf381c020f747c0.tar.gz
nextcloud-server-d7ccc616e42bef9270e3d315baf381c020f747c0.zip
Always use IUserStatus consts
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/UserStatus/IUserStatus.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/public/UserStatus/IUserStatus.php b/lib/public/UserStatus/IUserStatus.php
index b721ee67a78..3e606e38712 100644
--- a/lib/public/UserStatus/IUserStatus.php
+++ b/lib/public/UserStatus/IUserStatus.php
@@ -60,6 +60,12 @@ interface IUserStatus {
public const OFFLINE = 'offline';
/**
+ * @var string
+ * @since 20.0.0
+ */
+ public const INVISIBLE = 'invisible';
+
+ /**
* Get the user this status is connected to
*
* @return string