PR #457 now refuses to send chat messages until the gateway handshake resolves a canonical session key from sessionDefaults.mainSessionKey or the legacy mainKey. That is safer than falling back to a literal main, but older or incompatible gateways may leave the UI unable to send without a clear compatibility message.
Follow-up:
- Confirm the minimum supported gateway always sends
mainSessionKey or mainKey.
- If not, surface a clear gateway update required / incompatible gateway message instead of only failing the send path.
- Add a focused test for the incompatible-handshake path.
Context: identified during review of #457.
PR #457 now refuses to send chat messages until the gateway handshake resolves a canonical session key from
sessionDefaults.mainSessionKeyor the legacymainKey. That is safer than falling back to a literalmain, but older or incompatible gateways may leave the UI unable to send without a clear compatibility message.Follow-up:
mainSessionKeyormainKey.Context: identified during review of #457.