diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-05-29 23:53:13 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-06-10 17:26:51 +0300 |
commit | 27ff4c009027b86c09f9f243a166ba79ad87134d (patch) | |
tree | b761763f6e9947f6ff6bd5deeb81b5791121ee33 /lib/Service/HostedSignalingServerService.php | |
parent | 6421dd87f96d86a066cd82816795893a5354273a (diff) |
Comment not yet returned options
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/Service/HostedSignalingServerService.php')
-rw-r--r-- | lib/Service/HostedSignalingServerService.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Service/HostedSignalingServerService.php b/lib/Service/HostedSignalingServerService.php index e6183833d..b74426b11 100644 --- a/lib/Service/HostedSignalingServerService.php +++ b/lib/Service/HostedSignalingServerService.php @@ -394,11 +394,13 @@ class HostedSignalingServerService { || !isset($data['owner']['email']) || !isset($data['owner']['language']) || !isset($data['owner']['country']) + /* TODO they are not yet returned || ($data['status'] === 'active' && ( !isset($data['limits']) || !isset($data['limits']['users']) ) ) + */ || (in_array($data['status'], ['error', 'blocked']) && !isset($data['reason'])) || !in_array($data['status'], ['error', 'blocked', 'pending', 'active', 'expired']) ) { |