fix: remove redundant earlier expires_never call

(cherry picked from commit 50c5ec2862)
This commit is contained in:
Ian Chua
2026-10-06 20:05:36 +08:00
parent 0ddb86bec7
commit f0be15df9e
-1
View File
@@ -554,7 +554,6 @@ void OrcaMqttConnection::connect_and_read() {
ws_handshake(*connection, current_config, endpoint);
expires_never(*connection);
// Auth precedence: a bearer_provider authenticates the WebSocket upgrade, so the
// CONNECT username/password fields are omitted entirely (the cloud form).
const bool use_bearer = static_cast<bool>(current_config.bearer_provider);