Skip to content

armgit / ente

Public Imported from GitHub
0

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

[server] Disable join by default

Neeraj Gupta9b9112ba4aca
diff --git a/server/pkg/repo/public_collection.go b/server/pkg/repo/public_collection.go
index f5ae8f2d72..3b5aa6dbce 100644
--- a/server/pkg/repo/public_collection.go
+++ b/server/pkg/repo/public_collection.go
@@ -38,7 +38,7 @@ func (pcr *PublicCollectionRepository) GetAlbumUrl(token string) string {
func (pcr *PublicCollectionRepository) Insert(ctx context.Context,
cID int64, token string, validTill int64, deviceLimit int, enableCollect bool, enableJoin *bool) error {
// default value for enableJoin is true
- join := true
+ join := false
if enableJoin != nil {
join = *enableJoin
}