From 627f3bc5a056c5ab3bf62b3cc67752e7cdea4455 Mon Sep 17 00:00:00 2001 From: alma Date: Sat, 17 Jan 2026 02:18:10 +0100 Subject: [PATCH] Fondation --- hooks/use-rocketchat-calls.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hooks/use-rocketchat-calls.ts b/hooks/use-rocketchat-calls.ts index 7764217..a34785c 100644 --- a/hooks/use-rocketchat-calls.ts +++ b/hooks/use-rocketchat-calls.ts @@ -119,7 +119,11 @@ export function useRocketChatCalls() { // Show incoming call notification UI (Outlook-style rectangle) setIncomingCall({ - from: callEvent.from, + from: { + userId: callEvent.from.userId, + username: callEvent.from.username, + name: callEvent.from.name || callEvent.from.username, + }, roomId: callEvent.roomId, roomName: callEvent.roomName, timestamp: callEvent.timestamp,