mirror of https://github.com/nextcloud/android
500 when metadata does not exist
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
f676072ecb
commit
eb48bcf118
|
@ -1448,7 +1448,8 @@ public static String decryptStringSymmetricAsString(String string,
|
|||
arbitraryDataProvider)
|
||||
);
|
||||
|
||||
} else if (getMetadataOperationResult.getHttpCode() == HttpStatus.SC_NOT_FOUND) {
|
||||
} else if (getMetadataOperationResult.getHttpCode() == HttpStatus.SC_NOT_FOUND ||
|
||||
getMetadataOperationResult.getHttpCode() == HttpStatus.SC_INTERNAL_SERVER_ERROR) {
|
||||
// new metadata
|
||||
metadata = new DecryptedFolderMetadataFile(new com.owncloud.android.datamodel.e2e.v2.decrypted.DecryptedMetadata(),
|
||||
new ArrayList<>(),
|
||||
|
|
Loading…
Reference in New Issue