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
(cherry picked from commit 6574c5c)
  • Loading branch information
SimonBrandner authored and t3chguy committed Jun 14, 2022
1 parent cacdb69 commit 0841aca
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 0841aca

Please sign in to comment.