Allow pasing orgId to select org to connect

This commit is contained in:
Owen
2025-11-03 16:54:38 -08:00
parent 352ac8def6
commit 46a4847cee
3 changed files with 18 additions and 0 deletions

View File

@@ -55,6 +55,7 @@ type Config struct {
sources map[string]string
Version string
OrgID string
}
func Run(ctx context.Context, config Config) {
@@ -685,6 +686,7 @@ func Run(ctx context.Context, config Config) {
"publicKey": publicKey.String(),
"relay": !doHolepunch,
"olmVersion": config.Version,
"orgId": config.OrgID,
}, 1*time.Second)
go keepSendingPing(olm)