refactor: thread ws parameter through handleClientEvent to voice handlers

This commit is contained in:
Jannis Braun
2026-03-23 14:23:48 +01:00
parent 80c32ae1e6
commit 357ba8b4d9
2 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -1311,7 +1311,7 @@ export async function registerWebSocket(app: FastifyInstance): Promise<void> {
// Handle authenticated events
if (userId && username) {
try {
handleClientEvent(parsed, userId, username);
handleClientEvent(parsed, userId, username, ws);
} catch (err) {
app.log.error({ err, eventType: parsed.type, userId }, 'Unhandled error in WS event handler');
try {