Include chainId for warning the user with an error

This commit is contained in:
Owen
2026-06-09 12:03:19 -07:00
parent 0d6503c03f
commit 12c1918e26

View File

@@ -467,6 +467,7 @@ func (o *Olm) StartTunnel(config TunnelConfig) {
"userToken": userToken,
"fingerprint": o.fingerprint,
"postures": o.postures,
"chainId": generateChainId(), // use a random chainId for registration updates - it won't be used for cancellation since registration is a one-time message but for tracking the session
}, 2*time.Second, 20) // after 18 tries on the server side we send the error so dont change this without changing that
// Invoke onRegistered callback if configured