Fix undefined/unset scope in account properties

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/30588/head
Joas Schilling 4 years ago
parent 7484abb6c0
commit 3c84570901
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
  1. 1
      lib/private/Accounts/AccountProperty.php

@ -152,6 +152,7 @@ class AccountProperty implements IAccountProperty {
switch ($scope) {
case IAccountManager::VISIBILITY_PRIVATE:
case '':
return IAccountManager::SCOPE_LOCAL;
case IAccountManager::VISIBILITY_CONTACTS_ONLY:
return IAccountManager::SCOPE_FEDERATED;

Loading…
Cancel
Save