Pass resizeNotifier into CallViewForARoom

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Š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}
onResize={this.props.onResize}
maxVideoHeight={this.props.maxHeight}
resizeNotifier={this.props.resizeNotifier}
/>
);

View file

@ -19,6 +19,7 @@ import React from 'react';
import CallHandler from '../../../CallHandler';
import CallView from './CallView';
import dis from '../../../dispatcher/dispatcher';
import ResizeNotifier from "../../../utils/ResizeNotifier";
interface IProps {
// 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
// in a way that is likely to cause a resize.
onResize?: any;
resizeNotifier: ResizeNotifier,
}
interface IState {