There was an error while loading. Please reload this page.
1 parent 50c824d commit 671bc32Copy full SHA for 671bc32
1 file changed
app/src/main/java/com/owncloud/android/operations/UploadFileOperation.java
@@ -475,7 +475,7 @@ protected RemoteOperationResult run(OwnCloudClient client) {
475
476
477
// Create folders only for Nextcloud < 32; 32+ handles this automatically.
478
- if (!getCapabilities().getVersion().isNewerOrEqual(NextcloudVersion.nextcloud_32)) {
+ if (getCapabilities().getVersion().isOlderThan(NextcloudVersion.nextcloud_32)) {
479
final boolean isResumingEncryptedUpload = (mFolderUnlockToken != null && !mFolderUnlockToken.isEmpty());
480
if (!isResumingEncryptedUpload && (parent == null || mRemoteFolderToBeCreated)) {
481
Log_OC.d(TAG, "verifying remote parent folder exists: " + remoteParentPath);
0 commit comments