mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-15 17:25:26 -04:00
fce9942ae0
The previous commit read toggleState.mode before it was declared (send-time site near line 632) and outside its closure (assistant finalize site near line 3426). Both threw ReferenceError / TDZ on first send, which crashed the chat send + render pipeline. Read fresh via Storage.loadToggleState() at each site, defaulting to 'chat' on any error. Mode-tag rendering otherwise unchanged.