mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(app): keep hydrated state across gateway session resumes (#1862)
This commit is contained in:
1 parent
b7f75e25ad
commit
943b948de7
41 files changed
+81
-690
No files matched your search
@@ -40,7 +40,7 @@ function guild(id: string, voiceStates: ReadonlyArray<VoiceState> = []): GuildRe
|
||||
describe('VoiceEngineV2AppVoiceStateAdapter', () => {
|
||||
it('keeps gateway voice-state indexes as immutable replacement projections', () => {
|
||||
const adapter = new VoiceEngineV2AppVoiceStateAdapter();
|
||||
adapter.handleConnectionOpen([
|
||||
adapter.handleGatewayReady([
|
||||
guild('guild-1', [voiceState({connection_id: 'connection-1', channel_id: 'channel-1'})]),
|
||||
]);
|
||||
const before = adapter.getConnectionVoiceStates();
|
||||
|
||||
Reference in new issue
Block a user