Merge pull request #42 from ente-io/skip_exif_upload

Stop uploading fileExif as part of encrypted metadata
This commit is contained in:
Vishnu Mohandas 2021-09-13 14:04:05 +05:30 committed by GitHub
commit 218b83b026
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -140,10 +140,6 @@ class File {
metadata["duration"] = duration;
}
}
if (fileType == FileType.image || fileType == FileType.livePhoto){
exif = (await readExifFromFile(sourceFile)).toString();
metadata["exif"] = exif;
}
hash = Sodium.bin2base64(await CryptoUtil.getHash(sourceFile));
metadata["hash"] = hash;
metadata["version"] = metadataVersion;