feat: add federatedCallId and callOrigin to client call routing
Enable federated DM calls to route accept/reject/end through the correct WebSocket connection using callOrigin, and include federatedCallId in all dm_call payloads for server-side FederatedCallEntry lookup.
This commit is contained in:
@@ -86,7 +86,7 @@ export function NotificationController() {
|
||||
|
||||
// DM call notification
|
||||
useEffect(() => {
|
||||
let prevIncoming: { dmChannelId: string; callerId: string; callerName: string } | null = null;
|
||||
let prevIncoming: { dmChannelId: string | null; callerId: string; callerName: string } | null = null;
|
||||
|
||||
const unsubscribe = useVoiceStore.subscribe((state) => {
|
||||
if (state.incomingCall && !prevIncoming && !windowFocused.current) {
|
||||
|
||||
Reference in New Issue
Block a user