aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/notification-telegram.rsc6
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/notification-telegram.rsc b/mod/notification-telegram.rsc
index 2eb90e1..ff9b4da 100644
--- a/mod/notification-telegram.rsc
+++ b/mod/notification-telegram.rsc
@@ -21,6 +21,7 @@
:global TelegramQueue;
:global TelegramMessageIDs;
+ :global CertificateAvailable;
:global IsFullyConnected;
:global LogPrint;
@@ -29,6 +30,11 @@
:return false;
}
+ :if ([ $CertificateAvailable "Go Daddy Root Certificate Authority - G2" ] = false) do={
+ $LogPrint warning $0 ("Downloading required certificate failed.");
+ :return false;
+ }
+
:local AllDone true;
:local QueueLen [ :len $TelegramQueue ];