Fix soft-crash when hanging up Jitsi via PIP (#7645)
This commit is contained in:
parent
038f67e844
commit
79d9a0c0f7
2 changed files with 13 additions and 18 deletions
|
@ -75,8 +75,7 @@ const CallViewHeader: React.FC<CallViewHeaderProps> = ({
|
|||
onPipMouseDown,
|
||||
}) => {
|
||||
const [callRoom, onHoldCallRoom] = callRooms;
|
||||
const callRoomName = callRoom.name;
|
||||
const { roomId } = callRoom;
|
||||
const { roomId, name: callRoomName } = callRoom;
|
||||
|
||||
if (!pipMode) {
|
||||
return <div className="mx_CallViewHeader">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue