Add posting.enabled master switch to disable auto-posting to Matrix

Stories are still ingested, classified, and served to the web UI; only
automatic Matrix posting is gated. Command replies (!post, !petestats)
still work. Pointer-bool so an absent key defaults to posting-on.
This commit is contained in:
prosolis
2026-06-24 16:39:59 -07:00
parent e65ffb1373
commit 410f8dda0a
3 changed files with 26 additions and 5 deletions

View File

@@ -17,6 +17,7 @@ gaming = "!gamingroomid:matrix.example.org"
lego = "!legoroomid:matrix.example.org"
[posting]
enabled = true # master switch for auto-posting news to Matrix; false = web-only (commands still work)
min_interval_seconds = 300
burst_cap_count = 3
burst_cap_window_seconds = 1800