Merge remote-tracking branch 'origin/main' into eva/relay-membership-cache

* origin/main:
  feat(relay): raise hosted community limit to five (#3829)

Signed-off-by: npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67d <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@buzz.block.builderlab.xyz>
Co-authored-by: tlongwell-block <109685178+tlongwell-block@users.noreply.github.com>
Signed-off-by: tlongwell-block <109685178+tlongwell-block@users.noreply.github.com>
This commit is contained in:
npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67d
2026-07-30 22:32:29 -04:00
co-authored by tlongwell-block
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -376,7 +376,7 @@ pub enum TransferResult {
/// Default maximum number of communities a single pubkey can own. Enforced at
/// the relay layer — the authoritative layer — so that concurrent transfers or
/// transfer-vs-create races cannot both pass a preflight count.
pub const MAX_COMMUNITIES_PER_OWNER: i64 = 3;
pub const MAX_COMMUNITIES_PER_OWNER: i64 = 5;
/// Effective per-owner community limit for this deployment.
///
@@ -1,7 +1,7 @@
import { invoke } from "@tauri-apps/api/core";
export const HOSTED_COMMUNITY_SUFFIX = "communities.buzz.xyz";
export const HOSTED_COMMUNITY_LIMIT = 3;
export const HOSTED_COMMUNITY_LIMIT = 5;
export const VALID_HOSTED_COMMUNITY_NAME = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
export type BuilderlabAuth = {