Fix CallView
crash (#8735)
This commit is contained in:
parent
23cc1aff73
commit
6574c5c3e2
1 changed files with 2 additions and 1 deletions
|
@ -418,7 +418,8 @@ export default class CallView extends React.Component<IProps, IState> {
|
||||||
|
|
||||||
const isScreensharing = call.isScreensharing();
|
const isScreensharing = call.isScreensharing();
|
||||||
const { primaryFeed, sidebarShown } = this.state;
|
const { primaryFeed, sidebarShown } = this.state;
|
||||||
const sharerName = primaryFeed.getMember().name;
|
const sharerName = primaryFeed?.getMember().name;
|
||||||
|
if (!sharerName) return;
|
||||||
|
|
||||||
let text = isScreensharing
|
let text = isScreensharing
|
||||||
? _t("You are presenting")
|
? _t("You are presenting")
|
||||||
|
|
Loading…
Reference in a new issue