Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/ios.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarinofaggiana <marino@marinofaggiana.com>2020-11-23 12:19:04 +0300
committermarinofaggiana <marino@marinofaggiana.com>2020-11-23 12:19:04 +0300
commitda46f94d3e8f721fd829b10f6625ca79cab42759 (patch)
tree29037f73346f29cc1f854482230a1b5cf60eba68 /iOSClient/Networking
parentfb6182be38166cb59af3d9605b8d5ccee0fedc01 (diff)
fix
Diffstat (limited to 'iOSClient/Networking')
-rw-r--r--iOSClient/Networking/NCService.swift7
1 files changed, 7 insertions, 0 deletions
diff --git a/iOSClient/Networking/NCService.swift b/iOSClient/Networking/NCService.swift
index 43525d2a2..e19fee559 100644
--- a/iOSClient/Networking/NCService.swift
+++ b/iOSClient/Networking/NCService.swift
@@ -178,6 +178,7 @@ class NCService: NSObject {
}
}
+ // External Site
let isExternalSitesServerEnabled = NCManageDatabase.sharedInstance.getCapabilitiesServerBool(account: account, elements: NCElementsJSON.shared.capabilitiesExternalSitesExists, exists: true)
if (isExternalSitesServerEnabled) {
NCCommunication.shared.getExternalSite() { (account, externalSites, errorCode, errorDescription) in
@@ -191,6 +192,12 @@ class NCService: NSObject {
} else {
NCManageDatabase.sharedInstance.deleteExternalSites(account: account)
}
+
+ // User Status
+ let userStatus = NCManageDatabase.sharedInstance.getCapabilitiesServerBool(account: account, elements: NCElementsJSON.shared.capabilitiesUserStatusEnabled, exists: false)
+ if userStatus {
+
+ }
// Handwerkcloud
let isHandwerkcloudEnabled = NCManageDatabase.sharedInstance.getCapabilitiesServerBool(account: account, elements: NCElementsJSON.shared.capabilitiesHWCEnabled, exists: false)