Pass resizeNotifier into CallViewForARoom

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-03-02 14:09:11 +01:00
parent 178ae2f7bf
commit 4e9d19d3b0
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
2 changed files with 4 additions and 0 deletions

View File

@ -169,6 +169,7 @@ export default class AuxPanel extends React.Component<IProps, IState> {
roomId={this.props.room.roomId} roomId={this.props.room.roomId}
onResize={this.props.onResize} onResize={this.props.onResize}
maxVideoHeight={this.props.maxHeight} maxVideoHeight={this.props.maxHeight}
resizeNotifier={this.props.resizeNotifier}
/> />
); );

View File

@ -19,6 +19,7 @@ import React from 'react';
import CallHandler from '../../../CallHandler'; import CallHandler from '../../../CallHandler';
import CallView from './CallView'; import CallView from './CallView';
import dis from '../../../dispatcher/dispatcher'; import dis from '../../../dispatcher/dispatcher';
import ResizeNotifier from "../../../utils/ResizeNotifier";
interface IProps { interface IProps {
// What room we should display the call for // What room we should display the call for
@ -30,6 +31,8 @@ interface IProps {
// a callback which is called when the content in the callview changes // a callback which is called when the content in the callview changes
// in a way that is likely to cause a resize. // in a way that is likely to cause a resize.
onResize?: any; onResize?: any;
resizeNotifier: ResizeNotifier,
} }
interface IState { interface IState {