From 1fb81720a29b589ad5593c36d2edd142455bd2cf Mon Sep 17 00:00:00 2001 From: Adrian Scillato Date: Wed, 19 Jan 2022 11:33:12 -0300 Subject: [PATCH] Fix compilation issue for Telegram --- tasmota/tasmota_configurations.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasmota/tasmota_configurations.h b/tasmota/tasmota_configurations.h index 8007fe24f..18b39deaa 100644 --- a/tasmota/tasmota_configurations.h +++ b/tasmota/tasmota_configurations.h @@ -1045,8 +1045,8 @@ #define USE_UNISHOX_COMPRESSION // Add support for string compression #endif -#ifdef USE_MQTT_TLS // If TLS for MQTT is enabled: - #define USE_TLS // flag indicates we need to include TLS code -#endif // USE_MQTT_TLS +#if defined(USE_MQTT_TLS) || defined(USE_TELEGRAM) // Enable TLS if required: + #define USE_TLS // flag indicates we need to include TLS code +#endif // USE_MQTT_TLS || USE_TELEGRAM #endif // _TASMOTA_CONFIGURATIONS_H_