Merge pull request #576 from robintown/unpersist

Unpersist widget after hanging up
This commit is contained in:
Robin
2022-09-13 08:34:41 -04:00
committed by GitHub

View File

@@ -150,6 +150,7 @@ export function GroupCallView({
const onHangup = async (ev: CustomEvent<IWidgetApiRequest>) => {
leave();
await widget.api.transport.reply(ev.detail, {});
widget.api.setAlwaysOnScreen(false);
};
widget.lazyActions.once(ElementWidgetActions.HangupCall, onHangup);
return () => {