Skip to content

Commit

Permalink
Merge pull request arendst#3558 from ascillato/patch-1
Browse files Browse the repository at this point in the history
Fix MQTT Reconnection Bug
  • Loading branch information
arendst authored Aug 23, 2018
2 parents 6ae3725 + 82ed212 commit 38639a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sonoff/xdrv_01_mqtt.ino
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ TasmotaMqtt MqttClient;

bool MqttIsConnected()
{
return mqtt_connected;
return MqttClient.Connected();
}

void MqttDisconnect()
Expand Down

0 comments on commit 38639a7

Please sign in to comment.