fix(telegram): surface callback ingress freshness
This commit is contained in:
@@ -3282,9 +3282,14 @@ def _callback_reply_audit_summary_from_row(
|
||||
inbound_callback_recent_24h_total = _safe_int(
|
||||
row.get("inbound_callback_recent_24h_total")
|
||||
)
|
||||
if inbound_callback_total > 0:
|
||||
if inbound_callback_recent_24h_total > 0:
|
||||
inbound_callback_mirror_status = "capturing"
|
||||
inbound_callback_next_action = "none"
|
||||
elif inbound_callback_total > 0:
|
||||
inbound_callback_mirror_status = "stale"
|
||||
inbound_callback_next_action = (
|
||||
"restore_callback_ingress_and_capture_fresh_receipt"
|
||||
)
|
||||
elif callback_total > 0:
|
||||
inbound_callback_mirror_status = "reply_only_gap"
|
||||
inbound_callback_next_action = "press_any_telegram_callback_after_rollout"
|
||||
|
||||
Reference in New Issue
Block a user