From 45a83b3a4d361b25e687f86e4e0b170c430c7ca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Fri, 29 May 2020 20:37:27 +0200 Subject: [PATCH] Close the window when meeting ends (#70) --- webapp/src/components/conference/conference.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webapp/src/components/conference/conference.tsx b/webapp/src/components/conference/conference.tsx index cb3b2f09..ddd72996 100644 --- a/webapp/src/components/conference/conference.tsx +++ b/webapp/src/components/conference/conference.tsx @@ -77,6 +77,9 @@ export default class Conference extends React.PureComponent { this.minimize(); } }); + this.api.on('readyToClose', () => { + this.close(); + }); this.api.on('tileViewChanged', (event: {enabled: boolean}) => { if (!this.state.minimized) { this.setState({wasTileView: event.enabled});