Modifying the variable expected to determine if Telegram is enabled. … (#257)

Modifying the variable expected to determine if Telegram is enabled. Old value was PF_TELEGRAM_ENABLED, but prep-planefence.sh was reading PF_TELEGRAM_ENABLED from the persistent volume and re-aliasing it as TELEGRAM_ENABLED. Therefore, by reading TELEGRAM_ENABLED, planefence_notify.sh will be executed as expected.
This commit is contained in:
Jason Cochran
2025-11-08 18:46:52 -05:00
committed by GitHub
parent a4e59f38af
commit 66ee59d939

View File

@@ -965,7 +965,7 @@ if chk_enabled "$PLANETWEET" \
|| chk_enabled "$PF_MASTODON" \
|| [[ -n "$BLUESKY_HANDLE" ]] \
|| [[ -n "$RSS_SITELINK" ]] \
|| chk_enabled "$PF_TELEGRAM_ENABLED" \
|| chk_enabled "$TELEGRAM_ENABLED" \
|| [[ -n "$MQTT_URL" ]]; then
LOG "Invoking planefence_notify.sh for notifications"
$PLANEFENCEDIR/planefence_notify.sh today "$DISTUNIT" "$ALTUNIT"