|
@@ -161,6 +161,12 @@ class NCService: NSObject {
|
|
|
let isFilesSharingEnabled = NCManageDatabase.sharedInstance.getCapabilitiesServerBool(account: account, elements: NCElementsJSON.shared.capabilitiesFileSharingApiEnabled, exists: false)
|
|
|
if (isFilesSharingEnabled && self.appDelegate.activeMain != nil) {
|
|
|
|
|
|
+ /*
|
|
|
+ NCCommunication.shared.readShare { (account, shares, errorCode, errorDescription) in
|
|
|
+
|
|
|
+ }
|
|
|
+ */
|
|
|
+
|
|
|
OCNetworking.sharedManager()?.readShare(withAccount: account, completion: { (account, items, message, errorCode) in
|
|
|
if errorCode == 0 && account == self.appDelegate.activeAccount {
|
|
|
|