Lazy join a group automatically before posting

This commit is contained in:
dtonon 2026-04-08 14:24:54 +01:00
parent fab4edd721
commit 77e2ebfbd6
7 changed files with 302 additions and 2 deletions

View file

@ -2,9 +2,11 @@ import {
PUBLIC_RELAY_URL,
PUBLIC_GROUP_ID,
PUBLIC_MODE,
PUBLIC_JOINCODE,
} from "$env/static/public";
export const RELAY_URL = PUBLIC_RELAY_URL;
export const GROUP_ID = PUBLIC_GROUP_ID;
export const MODE: "simple" | "full" =
PUBLIC_MODE === "full" ? "full" : "simple";
export const JOINCODE_REQUIRED = PUBLIC_JOINCODE === "yes";