adaptes federated shares permission computation

This commit is contained in:
AndyScherzinger 2016-11-22 22:07:53 +01:00
parent 335bbdb511
commit 008a974a74
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -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.