mirror of
https://github.com/ipnet-mesh/meshcore-hub.git
synced 2026-11-08 06:22:26 +01:00
The Messages page badged a row as spam at a hardcoded score >= 0.6 while the API hides rows at SPAM_SCORE_THRESHOLD (now 0.65), so messages scored in [0.6, 0.65) appeared flagged but were never hidden by the "show potential spam" toggle. Expose spam_score_threshold in the SPA config and use it for the badge so a row is badged exactly when the API would hide it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>