Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Match the behaviour of LocalCollection

Manav Rathi2dbeffe380e0
diff --git a/web/packages/media/collection.ts b/web/packages/media/collection.ts
index 51333eb59b..b0ad8aca00 100644
--- a/web/packages/media/collection.ts
+++ b/web/packages/media/collection.ts
@@ -465,6 +465,7 @@ export const decryptRemoteCollection = async (
nameDecryptionNonce,
sharees,
attributes,
+ isDeleted,
magicMetadata: encryptedMagicMetadata,
pubMagicMetadata: encryptedPubMagicMetadata,
sharedMagicMetadata: encryptedSharedMagicMetadata,
@@ -475,6 +476,9 @@ export const decryptRemoteCollection = async (
ignore([encryptedKey, keyDecryptionNonce]);
// Mobile specific attribute not currently used by us.
ignore(attributes);
+ // The deleted flag is used during collection fetch, but not used by us
+ // beyond this point.
+ ignore(isDeleted);
const name =
// `||` is used because remote sets name to blank to indicate absence.