Skip to content

Commit

Permalink
Close the window when meeting ends (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
jespino authored May 29, 2020
1 parent e0a8486 commit 45a83b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webapp/src/components/conference/conference.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ export default class Conference extends React.PureComponent<Props, State> {
this.minimize();
}
});
this.api.on('readyToClose', () => {
this.close();
});
this.api.on('tileViewChanged', (event: {enabled: boolean}) => {
if (!this.state.minimized) {
this.setState({wasTileView: event.enabled});
Expand Down

0 comments on commit 45a83b3

Please sign in to comment.