Merge pull request #13904 from s-hadinger/telegram_fix

Fix compilation error
This commit is contained in:
s-hadinger 2021-12-03 13:53:50 +01:00 committed by GitHub
commit 482ec7f54f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);