aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_status
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_status')
-rw-r--r--apps/user_status/l10n/de.js1
-rw-r--r--apps/user_status/l10n/de.json1
-rw-r--r--apps/user_status/l10n/de_DE.js1
-rw-r--r--apps/user_status/l10n/de_DE.json1
-rw-r--r--apps/user_status/l10n/en_GB.js1
-rw-r--r--apps/user_status/l10n/en_GB.json1
-rw-r--r--apps/user_status/l10n/et_EE.js1
-rw-r--r--apps/user_status/l10n/et_EE.json1
-rw-r--r--apps/user_status/l10n/ga.js1
-rw-r--r--apps/user_status/l10n/ga.json1
-rw-r--r--apps/user_status/l10n/ja.js1
-rw-r--r--apps/user_status/l10n/ja.json1
-rw-r--r--apps/user_status/l10n/nl.js1
-rw-r--r--apps/user_status/l10n/nl.json1
-rw-r--r--apps/user_status/l10n/pt_BR.js1
-rw-r--r--apps/user_status/l10n/pt_BR.json1
-rw-r--r--apps/user_status/l10n/ru.js1
-rw-r--r--apps/user_status/l10n/ru.json1
-rw-r--r--apps/user_status/l10n/sw.js1
-rw-r--r--apps/user_status/l10n/sw.json1
-rw-r--r--apps/user_status/l10n/uk.js1
-rw-r--r--apps/user_status/l10n/uk.json1
-rw-r--r--apps/user_status/l10n/zh_CN.js33
-rw-r--r--apps/user_status/l10n/zh_CN.json33
-rw-r--r--apps/user_status/l10n/zh_HK.js1
-rw-r--r--apps/user_status/l10n/zh_HK.json1
-rw-r--r--apps/user_status/l10n/zh_TW.js1
-rw-r--r--apps/user_status/l10n/zh_TW.json1
-rw-r--r--apps/user_status/lib/Capabilities.php3
-rw-r--r--apps/user_status/openapi.json6
-rw-r--r--apps/user_status/tests/Unit/CapabilitiesTest.php1
31 files changed, 68 insertions, 34 deletions
diff --git a/apps/user_status/l10n/de.js b/apps/user_status/l10n/de.js
index 7d8d91af4f0..b59906d6135 100644
--- a/apps/user_status/l10n/de.js
+++ b/apps/user_status/l10n/de.js
@@ -10,6 +10,7 @@ OC.L10N.register(
"Out of office" : "Nicht im Büro",
"Working remotely" : "Arbeitet aus der Ferne",
"In a call" : "In einem Anruf",
+ "Be right back" : "Bin gleich zurück",
"User status" : "Benutzerstatus",
"Clear status after" : "Status löschen nach",
"Emoji for your status message" : "Emoji für deine Statusnachricht",
diff --git a/apps/user_status/l10n/de.json b/apps/user_status/l10n/de.json
index 770fd27203d..2badd82476c 100644
--- a/apps/user_status/l10n/de.json
+++ b/apps/user_status/l10n/de.json
@@ -8,6 +8,7 @@
"Out of office" : "Nicht im Büro",
"Working remotely" : "Arbeitet aus der Ferne",
"In a call" : "In einem Anruf",
+ "Be right back" : "Bin gleich zurück",
"User status" : "Benutzerstatus",
"Clear status after" : "Status löschen nach",
"Emoji for your status message" : "Emoji für deine Statusnachricht",
diff --git a/apps/user_status/l10n/de_DE.js b/apps/user_status/l10n/de_DE.js
index 455f2ce834f..23d86b06643 100644
--- a/apps/user_status/l10n/de_DE.js
+++ b/apps/user_status/l10n/de_DE.js
@@ -10,6 +10,7 @@ OC.L10N.register(
"Out of office" : "Nicht im Büro",
"Working remotely" : "Arbeitet aus der Ferne",
"In a call" : "In einem Anruf",
+ "Be right back" : "Bin gleich zurück",
"User status" : "Benutzerstatus",
"Clear status after" : "Status löschen nach",
"Emoji for your status message" : "Emoji für Ihre Statusnachricht",
diff --git a/apps/user_status/l10n/de_DE.json b/apps/user_status/l10n/de_DE.json
index 8620038dd6f..9be300f0e29 100644
--- a/apps/user_status/l10n/de_DE.json
+++ b/apps/user_status/l10n/de_DE.json
@@ -8,6 +8,7 @@
"Out of office" : "Nicht im Büro",
"Working remotely" : "Arbeitet aus der Ferne",
"In a call" : "In einem Anruf",
+ "Be right back" : "Bin gleich zurück",
"User status" : "Benutzerstatus",
"Clear status after" : "Status löschen nach",
"Emoji for your status message" : "Emoji für Ihre Statusnachricht",
diff --git a/apps/user_status/l10n/en_GB.js b/apps/user_status/l10n/en_GB.js
index 66e6f17618c..2ef82ebed8a 100644
--- a/apps/user_status/l10n/en_GB.js
+++ b/apps/user_status/l10n/en_GB.js
@@ -10,6 +10,7 @@ OC.L10N.register(
"Out of office" : "Out of office",
"Working remotely" : "Working remotely",
"In a call" : "In a call",
+ "Be right back" : "Be right back",
"User status" : "User status",
"Clear status after" : "Clear status after",
"Emoji for your status message" : "Emoji for your status message",
diff --git a/apps/user_status/l10n/en_GB.json b/apps/user_status/l10n/en_GB.json
index a668db7d18b..0e646a02599 100644
--- a/apps/user_status/l10n/en_GB.json
+++ b/apps/user_status/l10n/en_GB.json
@@ -8,6 +8,7 @@
"Out of office" : "Out of office",
"Working remotely" : "Working remotely",
"In a call" : "In a call",
+ "Be right back" : "Be right back",
"User status" : "User status",
"Clear status after" : "Clear status after",
"Emoji for your status message" : "Emoji for your status message",
diff --git a/apps/user_status/l10n/et_EE.js b/apps/user_status/l10n/et_EE.js
index 72bcdc339c7..18c3c88e824 100644
--- a/apps/user_status/l10n/et_EE.js
+++ b/apps/user_status/l10n/et_EE.js
@@ -10,6 +10,7 @@ OC.L10N.register(
"Out of office" : "Kontorist väljas",
"Working remotely" : "Kaugtööl",
"In a call" : "Kõnes",
+ "Be right back" : "Kohe jõuan tagasi",
"User status" : "Kasutaja olek",
"Clear status after" : "Eemalda olekuteade peale",
"Emoji for your status message" : "Sinu olekuteate emoji",
diff --git a/apps/user_status/l10n/et_EE.json b/apps/user_status/l10n/et_EE.json
index 3a8227e76e1..903466eef24 100644
--- a/apps/user_status/l10n/et_EE.json
+++ b/apps/user_status/l10n/et_EE.json
@@ -8,6 +8,7 @@
"Out of office" : "Kontorist väljas",
"Working remotely" : "Kaugtööl",
"In a call" : "Kõnes",
+ "Be right back" : "Kohe jõuan tagasi",
"User status" : "Kasutaja olek",
"Clear status after" : "Eemalda olekuteade peale",
"Emoji for your status message" : "Sinu olekuteate emoji",
diff --git a/apps/user_status/l10n/ga.js b/apps/user_status/l10n/ga.js
index d2e78391015..d976c272537 100644
--- a/apps/user_status/l10n/ga.js
+++ b/apps/user_status/l10n/ga.js
@@ -10,6 +10,7 @@ OC.L10N.register(
"Out of office" : "As oifig",
"Working remotely" : "Ag obair go cianda",
"In a call" : "I nglao",
+ "Be right back" : "Ar ais láithreach",
"User status" : "Stádas úsáideora",
"Clear status after" : "Stádas soiléir tar éis",
"Emoji for your status message" : "Emoji do do theachtaireacht stádais",
diff --git a/apps/user_status/l10n/ga.json b/apps/user_status/l10n/ga.json
index 2bc65745f6b..c672231aab3 100644
--- a/apps/user_status/l10n/ga.json
+++ b/apps/user_status/l10n/ga.json
@@ -8,6 +8,7 @@
"Out of office" : "As oifig",
"Working remotely" : "Ag obair go cianda",
"In a call" : "I nglao",
+ "Be right back" : "Ar ais láithreach",
"User status" : "Stádas úsáideora",
"Clear status after" : "Stádas soiléir tar éis",
"Emoji for your status message" : "Emoji do do theachtaireacht stádais",
diff --git a/apps/user_status/l10n/ja.js b/apps/user_status/l10n/ja.js
index 9f56f70053b..74f480e0f36 100644
--- a/apps/user_status/l10n/ja.js
+++ b/apps/user_status/l10n/ja.js
@@ -10,6 +10,7 @@ OC.L10N.register(
"Out of office" : "オフィス外",
"Working remotely" : "リモートワーク中",
"In a call" : "通話中",
+ "Be right back" : "すぐ戻ります",
"User status" : "ユーザーステータス",
"Clear status after" : "ステータスの有効期限",
"Emoji for your status message" : "あなたのステータスメッセージに絵文字を",
diff --git a/apps/user_status/l10n/ja.json b/apps/user_status/l10n/ja.json
index a6dc1ec19a3..183ed4f1c1e 100644
--- a/apps/user_status/l10n/ja.json
+++ b/apps/user_status/l10n/ja.json
@@ -8,6 +8,7 @@
"Out of office" : "オフィス外",
"Working remotely" : "リモートワーク中",
"In a call" : "通話中",
+ "Be right back" : "すぐ戻ります",
"User status" : "ユーザーステータス",
"Clear status after" : "ステータスの有効期限",
"Emoji for your status message" : "あなたのステータスメッセージに絵文字を",
diff --git a/apps/user_status/l10n/nl.js b/apps/user_status/l10n/nl.js
index 3a981ec3a3c..745507c57c0 100644
--- a/apps/user_status/l10n/nl.js
+++ b/apps/user_status/l10n/nl.js
@@ -10,6 +10,7 @@ OC.L10N.register(
"Out of office" : "Niet op kantoor",
"Working remotely" : "Thuiswerken",
"In a call" : "In gesprek",
+ "Be right back" : "Zo weer terug",
"User status" : "Gebruikersstatus",
"Clear status after" : "Maak de status leeg na",
"Emoji for your status message" : "Emoji voor je statusbericht",
diff --git a/apps/user_status/l10n/nl.json b/apps/user_status/l10n/nl.json
index 485b773bb85..643cf4c27fb 100644
--- a/apps/user_status/l10n/nl.json
+++ b/apps/user_status/l10n/nl.json
@@ -8,6 +8,7 @@
"Out of office" : "Niet op kantoor",
"Working remotely" : "Thuiswerken",
"In a call" : "In gesprek",
+ "Be right back" : "Zo weer terug",
"User status" : "Gebruikersstatus",
"Clear status after" : "Maak de status leeg na",
"Emoji for your status message" : "Emoji voor je statusbericht",
diff --git a/apps/user_status/l10n/pt_BR.js b/apps/user_status/l10n/pt_BR.js
index 0005887e473..3844bd746f7 100644
--- a/apps/user_status/l10n/pt_BR.js
+++ b/apps/user_status/l10n/pt_BR.js
@@ -10,6 +10,7 @@ OC.L10N.register(
"Out of office" : "Fora do escritório",
"Working remotely" : "Em trabalho remoto",
"In a call" : "Em uma chamada",
+ "Be right back" : "Volto já",
"User status" : "Status do usuário",
"Clear status after" : "Limpar status após",
"Emoji for your status message" : "Emoji para sua mensagem de status",
diff --git a/apps/user_status/l10n/pt_BR.json b/apps/user_status/l10n/pt_BR.json
index 9d233528ee0..e596a39e2bf 100644
--- a/apps/user_status/l10n/pt_BR.json
+++ b/apps/user_status/l10n/pt_BR.json
@@ -8,6 +8,7 @@
"Out of office" : "Fora do escritório",
"Working remotely" : "Em trabalho remoto",
"In a call" : "Em uma chamada",
+ "Be right back" : "Volto já",
"User status" : "Status do usuário",
"Clear status after" : "Limpar status após",
"Emoji for your status message" : "Emoji para sua mensagem de status",
diff --git a/apps/user_status/l10n/ru.js b/apps/user_status/l10n/ru.js
index 5307a6e7fe3..32b784b5e0c 100644
--- a/apps/user_status/l10n/ru.js
+++ b/apps/user_status/l10n/ru.js
@@ -10,6 +10,7 @@ OC.L10N.register(
"Out of office" : "Вне офиса",
"Working remotely" : "Удалённо",
"In a call" : "В вызове",
+ "Be right back" : "Скоро вернусь",
"User status" : "Статус пользователя",
"Clear status after" : "Очистить статус после",
"Emoji for your status message" : "Эмодзи для вашего сообщения к статусу",
diff --git a/apps/user_status/l10n/ru.json b/apps/user_status/l10n/ru.json
index c46c053f5ef..f6b8d241ac4 100644
--- a/apps/user_status/l10n/ru.json
+++ b/apps/user_status/l10n/ru.json
@@ -8,6 +8,7 @@
"Out of office" : "Вне офиса",
"Working remotely" : "Удалённо",
"In a call" : "В вызове",
+ "Be right back" : "Скоро вернусь",
"User status" : "Статус пользователя",
"Clear status after" : "Очистить статус после",
"Emoji for your status message" : "Эмодзи для вашего сообщения к статусу",
diff --git a/apps/user_status/l10n/sw.js b/apps/user_status/l10n/sw.js
index e633d96c1dd..69e9430b920 100644
--- a/apps/user_status/l10n/sw.js
+++ b/apps/user_status/l10n/sw.js
@@ -10,6 +10,7 @@ OC.L10N.register(
"Out of office" : "Nje ya ofisi",
"Working remotely" : "Kufanyia kazi mbali",
"In a call" : "Katika simu",
+ "Be right back" : "Rudi mara moja",
"User status" : "Hadhi ya mtumiaji",
"Clear status after" : "Futa hali baada ya",
"Emoji for your status message" : "Emoji kwa hali yako ya ujumbe",
diff --git a/apps/user_status/l10n/sw.json b/apps/user_status/l10n/sw.json
index e6b01ce2ac4..a106159c6fb 100644
--- a/apps/user_status/l10n/sw.json
+++ b/apps/user_status/l10n/sw.json
@@ -8,6 +8,7 @@
"Out of office" : "Nje ya ofisi",
"Working remotely" : "Kufanyia kazi mbali",
"In a call" : "Katika simu",
+ "Be right back" : "Rudi mara moja",
"User status" : "Hadhi ya mtumiaji",
"Clear status after" : "Futa hali baada ya",
"Emoji for your status message" : "Emoji kwa hali yako ya ujumbe",
diff --git a/apps/user_status/l10n/uk.js b/apps/user_status/l10n/uk.js
index a76a67bb63c..b73417b164b 100644
--- a/apps/user_status/l10n/uk.js
+++ b/apps/user_status/l10n/uk.js
@@ -10,6 +10,7 @@ OC.L10N.register(
"Out of office" : "Недоступний(-а)",
"Working remotely" : "Працюю віддалено",
"In a call" : "На дзвінку",
+ "Be right back" : "Зараз повернуся",
"User status" : "Статус користувача",
"Clear status after" : "Очистити статус після",
"Emoji for your status message" : "Емоційки для повідомлення вашого статусу",
diff --git a/apps/user_status/l10n/uk.json b/apps/user_status/l10n/uk.json
index 66e5f7130d6..e115bf09f5f 100644
--- a/apps/user_status/l10n/uk.json
+++ b/apps/user_status/l10n/uk.json
@@ -8,6 +8,7 @@
"Out of office" : "Недоступний(-а)",
"Working remotely" : "Працюю віддалено",
"In a call" : "На дзвінку",
+ "Be right back" : "Зараз повернуся",
"User status" : "Статус користувача",
"Clear status after" : "Очистити статус після",
"Emoji for your status message" : "Емоційки для повідомлення вашого статусу",
diff --git a/apps/user_status/l10n/zh_CN.js b/apps/user_status/l10n/zh_CN.js
index 1bf11fddfff..c36ad38c713 100644
--- a/apps/user_status/l10n/zh_CN.js
+++ b/apps/user_status/l10n/zh_CN.js
@@ -10,26 +10,27 @@ OC.L10N.register(
"Out of office" : "不在办公室",
"Working remotely" : "远程办公中",
"In a call" : "通话中",
+ "Be right back" : "马上回来",
"User status" : "用户状态",
"Clear status after" : "清除状态于",
- "Emoji for your status message" : "表示状态信息的表情符号",
- "What is your status?" : "你什么状态?",
- "Predefined statuses" : "预定义的状态",
- "Previously set" : "先前设定",
+ "Emoji for your status message" : "状态消息的表情符号",
+ "What is your status?" : "您的状态如何?",
+ "Predefined statuses" : "预定义状态",
+ "Previously set" : "先前设置",
"Reset status" : "重置状态",
- "Reset status to \"{icon} {message}\"" : "重置状态为 {icon} {message}",
- "Reset status to \"{message}\"" : "重置状态为 {message}",
- "Reset status to \"{icon}\"" : "重置状态为 {icon}",
+ "Reset status to \"{icon} {message}\"" : "将状态重置为“{icon} {message}”",
+ "Reset status to \"{message}\"" : "将状态重置为“{message}”",
+ "Reset status to \"{icon}\"" : "将状态重置为“{icon}”",
"There was an error saving the status" : "保存状态时出错",
"There was an error clearing the status" : "清除状态时出错",
- "There was an error reverting the status" : "还原状态时发生错误",
+ "There was an error reverting the status" : "恢复状态时出错",
"Online status" : "在线状态",
- "Status message" : "状态信息",
+ "Status message" : "状态消息",
"Set absence period" : "设置缺勤时段",
- "Set absence period and replacement" : "设置缺勤时段和替代人员",
- "Your status was set automatically" : "您的状态已自动设定",
- "Clear status message" : "清除状态信息",
- "Set status message" : "设定状态信息",
+ "Set absence period and replacement" : "设置缺勤时段和接替者",
+ "Your status was set automatically" : "您的状态已自动设置",
+ "Clear status message" : "清除状态消息",
+ "Set status message" : "设置状态消息",
"Don't clear" : "不要清除",
"Today" : "今天",
"This week" : "本周",
@@ -38,11 +39,11 @@ OC.L10N.register(
"Do not disturb" : "勿扰",
"Invisible" : "隐身",
"Offline" : "离线",
- "Set status" : "设定状态",
+ "Set status" : "设置状态",
"There was an error saving the new status" : "保存新状态时出错",
"30 minutes" : "30 分钟",
- "1 hour" : "1小时",
- "4 hours" : "4小时",
+ "1 hour" : "1 小时",
+ "4 hours" : "4 小时",
"Busy" : "忙碌",
"Mute all notifications" : "静音所有通知",
"Appear offline" : "显示为离线"
diff --git a/apps/user_status/l10n/zh_CN.json b/apps/user_status/l10n/zh_CN.json
index 7157edb0884..8546482d238 100644
--- a/apps/user_status/l10n/zh_CN.json
+++ b/apps/user_status/l10n/zh_CN.json
@@ -8,26 +8,27 @@
"Out of office" : "不在办公室",
"Working remotely" : "远程办公中",
"In a call" : "通话中",
+ "Be right back" : "马上回来",
"User status" : "用户状态",
"Clear status after" : "清除状态于",
- "Emoji for your status message" : "表示状态信息的表情符号",
- "What is your status?" : "你什么状态?",
- "Predefined statuses" : "预定义的状态",
- "Previously set" : "先前设定",
+ "Emoji for your status message" : "状态消息的表情符号",
+ "What is your status?" : "您的状态如何?",
+ "Predefined statuses" : "预定义状态",
+ "Previously set" : "先前设置",
"Reset status" : "重置状态",
- "Reset status to \"{icon} {message}\"" : "重置状态为 {icon} {message}",
- "Reset status to \"{message}\"" : "重置状态为 {message}",
- "Reset status to \"{icon}\"" : "重置状态为 {icon}",
+ "Reset status to \"{icon} {message}\"" : "将状态重置为“{icon} {message}”",
+ "Reset status to \"{message}\"" : "将状态重置为“{message}”",
+ "Reset status to \"{icon}\"" : "将状态重置为“{icon}”",
"There was an error saving the status" : "保存状态时出错",
"There was an error clearing the status" : "清除状态时出错",
- "There was an error reverting the status" : "还原状态时发生错误",
+ "There was an error reverting the status" : "恢复状态时出错",
"Online status" : "在线状态",
- "Status message" : "状态信息",
+ "Status message" : "状态消息",
"Set absence period" : "设置缺勤时段",
- "Set absence period and replacement" : "设置缺勤时段和替代人员",
- "Your status was set automatically" : "您的状态已自动设定",
- "Clear status message" : "清除状态信息",
- "Set status message" : "设定状态信息",
+ "Set absence period and replacement" : "设置缺勤时段和接替者",
+ "Your status was set automatically" : "您的状态已自动设置",
+ "Clear status message" : "清除状态消息",
+ "Set status message" : "设置状态消息",
"Don't clear" : "不要清除",
"Today" : "今天",
"This week" : "本周",
@@ -36,11 +37,11 @@
"Do not disturb" : "勿扰",
"Invisible" : "隐身",
"Offline" : "离线",
- "Set status" : "设定状态",
+ "Set status" : "设置状态",
"There was an error saving the new status" : "保存新状态时出错",
"30 minutes" : "30 分钟",
- "1 hour" : "1小时",
- "4 hours" : "4小时",
+ "1 hour" : "1 小时",
+ "4 hours" : "4 小时",
"Busy" : "忙碌",
"Mute all notifications" : "静音所有通知",
"Appear offline" : "显示为离线"
diff --git a/apps/user_status/l10n/zh_HK.js b/apps/user_status/l10n/zh_HK.js
index 0cad7a3e277..66fcd087abe 100644
--- a/apps/user_status/l10n/zh_HK.js
+++ b/apps/user_status/l10n/zh_HK.js
@@ -10,6 +10,7 @@ OC.L10N.register(
"Out of office" : "不在辦公室",
"Working remotely" : "遠程工作中",
"In a call" : "通話中",
+ "Be right back" : "馬上回來",
"User status" : "用戶狀態",
"Clear status after" : "繼此之後清空狀態",
"Emoji for your status message" : "狀態訊息的表情符號",
diff --git a/apps/user_status/l10n/zh_HK.json b/apps/user_status/l10n/zh_HK.json
index dbea763794f..a95da1fa45c 100644
--- a/apps/user_status/l10n/zh_HK.json
+++ b/apps/user_status/l10n/zh_HK.json
@@ -8,6 +8,7 @@
"Out of office" : "不在辦公室",
"Working remotely" : "遠程工作中",
"In a call" : "通話中",
+ "Be right back" : "馬上回來",
"User status" : "用戶狀態",
"Clear status after" : "繼此之後清空狀態",
"Emoji for your status message" : "狀態訊息的表情符號",
diff --git a/apps/user_status/l10n/zh_TW.js b/apps/user_status/l10n/zh_TW.js
index dbb1627765f..c4cd18345a5 100644
--- a/apps/user_status/l10n/zh_TW.js
+++ b/apps/user_status/l10n/zh_TW.js
@@ -10,6 +10,7 @@ OC.L10N.register(
"Out of office" : "不在辦公室",
"Working remotely" : "遠端工作",
"In a call" : "通話中",
+ "Be right back" : "馬上回來",
"User status" : "使用者狀態",
"Clear status after" : "多久後清除狀態",
"Emoji for your status message" : "狀態訊息的表情符號",
diff --git a/apps/user_status/l10n/zh_TW.json b/apps/user_status/l10n/zh_TW.json
index e42a675045d..9e99204b682 100644
--- a/apps/user_status/l10n/zh_TW.json
+++ b/apps/user_status/l10n/zh_TW.json
@@ -8,6 +8,7 @@
"Out of office" : "不在辦公室",
"Working remotely" : "遠端工作",
"In a call" : "通話中",
+ "Be right back" : "馬上回來",
"User status" : "使用者狀態",
"Clear status after" : "多久後清除狀態",
"Emoji for your status message" : "狀態訊息的表情符號",
diff --git a/apps/user_status/lib/Capabilities.php b/apps/user_status/lib/Capabilities.php
index 0c5dc4e03d2..c3edbc032d6 100644
--- a/apps/user_status/lib/Capabilities.php
+++ b/apps/user_status/lib/Capabilities.php
@@ -23,7 +23,7 @@ class Capabilities implements ICapability {
}
/**
- * @return array{user_status: array{enabled: bool, restore: bool, supports_emoji: bool}}
+ * @return array{user_status: array{enabled: bool, restore: bool, supports_emoji: bool, supports_busy: bool}}
*/
public function getCapabilities() {
return [
@@ -31,6 +31,7 @@ class Capabilities implements ICapability {
'enabled' => true,
'restore' => true,
'supports_emoji' => $this->emojiHelper->doesPlatformSupportEmoji(),
+ 'supports_busy' => true,
],
];
}
diff --git a/apps/user_status/openapi.json b/apps/user_status/openapi.json
index d1018fa26e6..e48d4970b96 100644
--- a/apps/user_status/openapi.json
+++ b/apps/user_status/openapi.json
@@ -31,7 +31,8 @@
"required": [
"enabled",
"restore",
- "supports_emoji"
+ "supports_emoji",
+ "supports_busy"
],
"properties": {
"enabled": {
@@ -42,6 +43,9 @@
},
"supports_emoji": {
"type": "boolean"
+ },
+ "supports_busy": {
+ "type": "boolean"
}
}
}
diff --git a/apps/user_status/tests/Unit/CapabilitiesTest.php b/apps/user_status/tests/Unit/CapabilitiesTest.php
index f07892ff3fd..601fb207df4 100644
--- a/apps/user_status/tests/Unit/CapabilitiesTest.php
+++ b/apps/user_status/tests/Unit/CapabilitiesTest.php
@@ -35,6 +35,7 @@ class CapabilitiesTest extends TestCase {
'enabled' => true,
'restore' => true,
'supports_emoji' => $supportsEmojis,
+ 'supports_busy' => true,
]
], $this->capabilities->getCapabilities());
}