Fix `CallView` crash (#8735)

pull/28788/head^2
Šimon Brandner 2022-06-01 17:14:43 +02:00 committed by GitHub
parent 23cc1aff73
commit 6574c5c3e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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")