1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Fix CallView crash (#8735)

(cherry picked from commit 6574c5c3e2)
This commit is contained in:
Šimon Brandner
2022-06-01 17:14:43 +02:00
committed by Michael Telatynski
parent cacdb69774
commit 0841aca2a4

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