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

Fix CallView crash #8735

Merged
merged 1 commit into from
Jun 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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