mirror of
https://github.com/nextcloud/android.git
synced 2024-12-18 15:01:57 +03:00
adaptes federated shares permission computation
This commit is contained in:
parent
335bbdb511
commit
008a974a74
1 changed files with 2 additions and 1 deletions
|
@ -478,7 +478,8 @@ public class FileOperationsHelper {
|
||||||
if (hideFileListing) {
|
if (hideFileListing) {
|
||||||
updateShareIntent.putExtra(OperationsService.EXTRA_SHARE_PERMISSIONS, OCShare.CREATE_PERMISSION_FLAG);
|
updateShareIntent.putExtra(OperationsService.EXTRA_SHARE_PERMISSIONS, OCShare.CREATE_PERMISSION_FLAG);
|
||||||
} else {
|
} else {
|
||||||
OwnCloudVersion serverVersion = AccountUtils.getServerVersion(mFileActivity.getAccount());
|
OwnCloudVersion serverVersion =
|
||||||
|
com.owncloud.android.authentication.AccountUtils.getServerVersion(mFileActivity.getAccount());
|
||||||
|
|
||||||
if (serverVersion != null && serverVersion.isNotReshareableFederatedSupported()) {
|
if (serverVersion != null && serverVersion.isNotReshareableFederatedSupported()) {
|
||||||
updateShareIntent.
|
updateShareIntent.
|
||||||
|
|
Loading…
Reference in a new issue