mirror of
https://github.com/fosrl/olm.git
synced 2026-02-17 10:26:44 +00:00
Allow pasing orgId to select org to connect
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user