fix(app): keep voice connections of one session across channels (#3023)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-28 19:50:47 +02:00
1 parent e895c41bf0
commit 192cec689a
2 files changed
+23

No files matched your search

@@ -200,6 +200,7 @@ function removeStaleSessionConnections(
for (const [connectionId, existing] of Object.entries(indexedGuildStates)) {
if (connectionId === voiceState.connection_id) continue;
if (existing.session_id !== voiceState.session_id) continue;
if (existing.channel_id !== voiceState.channel_id) continue;
next = removeConnection(next, connectionId);
}
return next;