mirror of
https://github.com/fosrl/olm.git
synced 2026-03-01 16:26:43 +00:00
Remove do not create client for now
Because its always created when the user joins the org
Former-commit-id: 8ebc678edb
This commit is contained in:
10
olm/olm.go
10
olm/olm.go
@@ -749,11 +749,11 @@ func TunnelProcess(ctx context.Context, config Config, id string, secret string,
|
||||
if stopRegister == nil {
|
||||
logger.Debug("Sending registration message to server with public key: %s and relay: %v", publicKey, !config.Holepunch)
|
||||
stopRegister = olm.SendMessageInterval("olm/wg/register", map[string]interface{}{
|
||||
"publicKey": publicKey.String(),
|
||||
"relay": !config.Holepunch,
|
||||
"olmVersion": config.Version,
|
||||
"orgId": config.OrgID,
|
||||
"doNotCreateNewClient": config.DoNotCreateNewClient,
|
||||
"publicKey": publicKey.String(),
|
||||
"relay": !config.Holepunch,
|
||||
"olmVersion": config.Version,
|
||||
"orgId": config.OrgID,
|
||||
// "doNotCreateNewClient": config.DoNotCreateNewClient,
|
||||
}, 1*time.Second)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user