Follow-up to 40164ba1. - _handle_voice_channel_join/leave now use event.source.platform instead of hardcoded Platform.DISCORD (consistent with other voice handlers). - Update tests/gateway/test_voice_command.py to use 'platform:chat_id' keys matching the new _voice_key() format. - Add platform isolation regression test for the bug in #12542. - Drop decorative test_legacy_key_collision_bug (the fix makes the collision impossible; the test mutated a single key twice, not a real scenario). - Adapter mocks in _sync_voice_mode_state_to_adapter tests now set adapter.platform = Platform.* (required by new isinstance check).
108 KiB
108 KiB