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
e2621389ae
commit
8d7157d4fc
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue