fix: remove redundant earlier expires_never call

This commit is contained in:
Ian Chua
2026-09-28 21:14:22 +08:00
parent b36a72e16a
commit 50c5ec2862
-1
View File
@@ -554,7 +554,6 @@ void OrcaMqttConnection::connect_and_read() {
ws_handshake(*connection, current_config, endpoint); ws_handshake(*connection, current_config, endpoint);
expires_never(*connection);
// Auth precedence: a bearer_provider authenticates the WebSocket upgrade, so the // Auth precedence: a bearer_provider authenticates the WebSocket upgrade, so the
// CONNECT username/password fields are omitted entirely (the cloud form). // CONNECT username/password fields are omitted entirely (the cloud form).
const bool use_bearer = static_cast<bool>(current_config.bearer_provider); const bool use_bearer = static_cast<bool>(current_config.bearer_provider);