mirror of
https://github.com/fosrl/olm.git
synced 2026-10-25 13:09:06 +01:00
Include chainId for warning the user with an error
This commit is contained in:
@@ -467,6 +467,7 @@ func (o *Olm) StartTunnel(config TunnelConfig) {
|
|||||||
"userToken": userToken,
|
"userToken": userToken,
|
||||||
"fingerprint": o.fingerprint,
|
"fingerprint": o.fingerprint,
|
||||||
"postures": o.postures,
|
"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
|
}, 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
|
// Invoke onRegistered callback if configured
|
||||||
|
|||||||
Reference in New Issue
Block a user