π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Set enableComment to true by default for public links
ashilkn9407f3a4aa67
diff --git a/mobile/apps/photos/lib/models/api/collection/public_url.dart b/mobile/apps/photos/lib/models/api/collection/public_url.dartindex 8eb63b0745..1bfcca8e84 100644--- a/mobile/apps/photos/lib/models/api/collection/public_url.dart+++ b/mobile/apps/photos/lib/models/api/collection/public_url.dart@@ -19,7 +19,7 @@ class PublicURL {this.passwordEnabled = false,this.enableCollect = false,this.enableJoin = true,- this.enableComment = false,+ this.enableComment = true,this.nonce,this.opsLimit,this.memLimit,@@ -61,7 +61,7 @@ class PublicURL {opsLimit: map['opsLimit'],memLimit: map['memLimit'],enableJoin: map['enableJoin'] ?? true,- enableComment: map['enableComment'] ?? false,+ enableComment: map['enableComment'] ?? true,);}}diff --git a/mobile/apps/photos/lib/services/collections_service.dart b/mobile/apps/photos/lib/services/collections_service.dartindex a9542c4583..03569a0ca9 100644--- a/mobile/apps/photos/lib/services/collections_service.dart+++ b/mobile/apps/photos/lib/services/collections_service.dart@@ -1320,6 +1320,7 @@ class CollectionsService {"collectionID": collection.id,"enableCollect": enableCollect,"enableJoin": true,+ "enableComment": true,},);collection.publicURLs.add(PublicURL.fromMap(response.data["result"]));