Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix enableComment defaults for backwards compatibility

ashilkn51b483015d6f
diff --git a/mobile/apps/photos/lib/models/api/collection/public_url.dart b/mobile/apps/photos/lib/models/api/collection/public_url.dart
index 1bfcca8e84..8eb63b0745 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 = true,
+ this.enableComment = false,
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'] ?? true,
+ enableComment: map['enableComment'] ?? false,
);
}
}