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,