From 8d7157d4fc70109bea168f92393f47f46aa0a955 Mon Sep 17 00:00:00 2001 From: AndyScherzinger Date: Tue, 22 Nov 2016 22:07:53 +0100 Subject: [PATCH] adaptes federated shares permission computation --- .../com/owncloud/android/ui/helpers/FileOperationsHelper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java b/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java index 0c11607a56..4ebe69e152 100755 --- a/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java +++ b/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java @@ -478,7 +478,8 @@ public class FileOperationsHelper { if (hideFileListing) { updateShareIntent.putExtra(OperationsService.EXTRA_SHARE_PERMISSIONS, OCShare.CREATE_PERMISSION_FLAG); } else { - OwnCloudVersion serverVersion = AccountUtils.getServerVersion(mFileActivity.getAccount()); + OwnCloudVersion serverVersion = + com.owncloud.android.authentication.AccountUtils.getServerVersion(mFileActivity.getAccount()); if (serverVersion != null && serverVersion.isNotReshareableFederatedSupported()) { updateShareIntent.