π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Load up to 250 posts on Space profiles
Anand Baburajane8d472592a08
diff --git a/server/space/repo/posts.go b/server/space/repo/posts.goindex 5d8a543450..72c79be54b 100644--- a/server/space/repo/posts.go+++ b/server/space/repo/posts.go@@ -143,8 +143,8 @@ func (r *PostsRepository) GetPost(ctx context.Context, postID int64, viewerSpacefunc (r *PostsRepository) ListPostsBySpace(ctx context.Context, spaceID string, viewerSpaceID string, cursor string, limit int) ([]SpacePostRecord, string, error) {limit = optionalInt(limit, 50)- if limit > 100 {- limit = 100+ if limit > MaxPostsPerSpace {+ limit = MaxPostsPerSpace}args := []any{spaceID, viewerSpaceID}query := postRecordSelectSQL(`diff --git a/web/apps/space/src/services/space.ts b/web/apps/space/src/services/space.tsindex 431a41ea82..dd73e100cd 100644--- a/web/apps/space/src/services/space.ts+++ b/web/apps/space/src/services/space.ts@@ -1041,7 +1041,7 @@ export const loadCurrentSpaceProfilePostsPage = async (spaceId,viewerSpaceId ?? null,cursor ?? null,- 60,+ 250,),);return page;