BadBoy_AutoBlacklist v12.1.0.6
What's new
### Fixed / audited
- **12.x filter-store audit (web-verified against the shipped client code).** Since the
Midnight-era clients, the display filters live in the `ChatFrameUtil` registry
(`ChatFrameFilters.lua`): `ChatFrameUtil.GetMessageEventFilters()` now takes **no** event
and returns the whole registry object, so event-keyed introspections print `#0` — a mirage,
not evidence of an empty store. The legacy `ChatFrame_AddMessageEventFilter` global only
exists behind the `loadDeprecationFallbacks` CVar and aliases the registry's Add; the
legacy **Get** is not aliased, so any chat replacement reading the classic store can never
see the registry on a 12.x client.
- **The root cause is bigger than Chattynator.** Blizzard wraps every addon filter and runs
its callback only `if canaccessvalue(...)`; the payload of another player's message read
from addon context is a secret value that is **not accessible, by design**. The filter
chain therefore legally runs zero times for player chat on Midnight clients — that is why
nothing was hidden or counted on retail, and why the core's filter (and its shield button)
never fired either. Chattynator unregisters every event from the vanilla frames
(`Overrides.lua`) and re-renders messages from its own `CHAT_MSG_*` handlers, which makes
the vanilla display path invisible, but the registry gate is the real seal.
- **The Filter is now registered in both stores** (`ChatFrameUtil.AddMessageEventFilter` and,
when it exists, the legacy `ChatFrame_AddMessageEventFilter` — deduped because both may
alias the same registry function). No Midnight-era regression: the per-message `lineId`
memos make a duplicated delivery a no-op, and non-Midnight clients still deliver through
their legacy store. Every registration is `pcall`'d and its outcome reported.
- **Diagnostics**: the delivery probe now arms at `PLAYER_LOGIN`, so a single `/bbauto` after
any amount of chat is conclusive (`entrega:` line: raw `CHAT_MSG_CHANNEL/SAY/YELL/WHISPER`
event counts vs `filterCalls`). A new `tienda:` line audits the store live: registers a dummy
filter and runs `ChatFrameUtil.ProcessMessageEventFilters` to measure what actually
executes plus the legacy-Add state and this addon's own per-store registration report.
- The regression suite grew accordingly (87 checks: the Filter present in both stores,
including the hide-only events).
### Changed
- **Panel status line, one item per line.** With the first live retail blocks the single
dot-joined line overflowed the panel frame, so the status now renders list size, blocks
today (total) and the last detected spammer as separate lines (fixed 300 px width); long
last lines wrap inside the column instead of leaving the panel.
This mod has no additional files