diff --git a/hooks/use-rocketchat-calls.ts b/hooks/use-rocketchat-calls.ts index a34785c..741fc89 100644 --- a/hooks/use-rocketchat-calls.ts +++ b/hooks/use-rocketchat-calls.ts @@ -125,7 +125,7 @@ export function useRocketChatCalls() { name: callEvent.from.name || callEvent.from.username, }, roomId: callEvent.roomId, - roomName: callEvent.roomName, + roomName: callEvent.roomName || callEvent.roomId, timestamp: callEvent.timestamp, });