Merge pull request #576 from robintown/unpersist
Unpersist widget after hanging up
This commit is contained in:
commit
73d09bc99c
1 changed files with 1 additions and 0 deletions
|
@ -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 () => {
|
||||
|
|
Loading…
Add table
Reference in a new issue