fix(federation): address code review findings for FED-009

- Resolve homeUserId from DB in sendFederatedCallStart/End (not raw userId)
- Clear existing timeout in createFederatedCall before overwriting
- Clear federatedCallToken/Url in leaveVoice and handleForceDisconnect
- Remove unnecessary `as any` cast in relay processor
This commit is contained in:
Jannis Braun
2026-03-31 23:58:27 +02:00
parent 274b6a0b2f
commit 626fbfdba8
4 changed files with 16 additions and 3 deletions
+1 -1
View File
@@ -3092,7 +3092,7 @@ function processDmCallStartEvent(
callerName: callerStub.displayName ?? callerStub.username,
livekitUrl: event.call!.livekitUrl,
livekitToken: token,
} as any);
});
}
accepted.push(event.messageId);