mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-19 05:55:34 +09:00
fix(app): keep voice connections of one session across channels (#3023)
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user