aboutsummaryrefslogtreecommitdiffstats
path: root/mod/notification-telegram
diff options
context:
space:
mode:
Diffstat (limited to 'mod/notification-telegram')
-rw-r--r--mod/notification-telegram3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/notification-telegram b/mod/notification-telegram
index 03ccc3b..69c4801 100644
--- a/mod/notification-telegram
+++ b/mod/notification-telegram
@@ -98,7 +98,8 @@
:return $Return;
}
- :local ChatId [ $EitherOr ($TelegramChatIdOverride->($Notification->"origin")) $TelegramChatId ];
+ :local ChatId [ $EitherOr ($Notification->"chatid") \
+ [ $EitherOr ($TelegramChatIdOverride->($Notification->"origin")) $TelegramChatId ] ];
:local TokenId [ $EitherOr ($TelegramTokenIdOverride->($Notification->"origin")) $TelegramTokenId ];
:if ([ :len $TokenId ] = 0 || [ :len $ChatId ] = 0) do={