Skip to content

Commit

Permalink
Send JWT even after join the conference and connection is established #…
Browse files Browse the repository at this point in the history
  • Loading branch information
Yury Shapkarin committed Aug 6, 2020
1 parent a88b4b8 commit df89ec4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions react/features/conference/components/web/Conference.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,14 @@ class Conference extends AbstractConference<Props, *> {
this.props.dispatch(setJWT(token));
this.setState({ showDeeplink: false });
APP.store.dispatch(walletFound());

if (APP.conference.isJoined()) {
await APP.conference.leaveRoomAndDisconnect();
APP.UI.unbindEvents();
FULL_SCREEN_EVENTS.forEach(name =>
document.removeEventListener(name, this._onFullScreenChange));
this._start();
}
}

/**
Expand Down

0 comments on commit df89ec4

Please sign in to comment.