Fix compilation error

This commit is contained in:
Stephan Hadinger 2021-12-03 13:53:04 +01:00
parent bc7efce43d
commit aa123eff8c
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ bool TelegramInit(void) {
if (!telegramClient) {
telegramClient = new BearSSL::WiFiClientSecure_light(tls_rx_size, tls_tx_size);
if (Settings.flag5.tls_use_fingerprint) {
if (Settings->flag5.tls_use_fingerprint) {
telegramClient->setPubKeyFingerprint(Telegram_Fingerprint, Telegram_Fingerprint, false); // check server fingerprint
} else {
telegramClient->setTrustAnchor(&GoDaddyCAG2_TA, 1);