fix(cron): restore origin fallback for feishu home channels

This commit is contained in:
bde3249023 2026-04-13 12:10:21 -07:00 committed by Teknium
parent 5ca52bae5b
commit f696b4745a
2 changed files with 31 additions and 1 deletions

View file

@ -92,7 +92,7 @@ def _resolve_single_delivery_target(job: dict, deliver_value: str) -> Optional[d
}
# Origin missing (e.g. job created via API/script) — try each
# platform's home channel as a fallback instead of silently dropping.
for platform_name in ("matrix", "telegram", "discord", "slack", "bluebubbles"):
for platform_name in ("matrix", "telegram", "discord", "slack", "feishu", "wecom", "weixin", "bluebubbles"):
chat_id = os.getenv(f"{platform_name.upper()}_HOME_CHANNEL", "")
if chat_id:
logger.info(