Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix CallView crash (#8735)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonBrandner authored Jun 1, 2022
1 parent 23cc1af commit 6574c5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/views/voip/CallView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,8 @@ export default class CallView extends React.Component<IProps, IState> {

const isScreensharing = call.isScreensharing();
const { primaryFeed, sidebarShown } = this.state;
const sharerName = primaryFeed.getMember().name;
const sharerName = primaryFeed?.getMember().name;
if (!sharerName) return;

let text = isScreensharing
? _t("You are presenting")
Expand Down

0 comments on commit 6574c5c

Please sign in to comment.