π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix(files_db): add conditions for file size and duration
Prateek Sunal106338508dd6
diff --git a/mobile/lib/db/files_db.dart b/mobile/lib/db/files_db.dartindex c43eec8d21..276ef2bb98 100644--- a/mobile/lib/db/files_db.dart+++ b/mobile/lib/db/files_db.dart@@ -1685,6 +1685,8 @@ class FilesDB with SqlDbBase {AND $columnUploadedFileID != -1AND $columnOwnerID = $userIDAND $columnLocalID IS NOT NULL+ AND ($columnFileSize IS NULL OR $columnFileSize <= 524288000)+ AND ($columnDuration IS NULL OR $columnDuration <= 1)ORDER BY $columnCreationTime DESC''',[getInt(fileType), beginDate.microsecondsSinceEpoch],