Skip to content

Commit

Permalink
fix jitsi jwt bug when opening in new window
Browse files Browse the repository at this point in the history
  • Loading branch information
jbguerraz authored and Jean-Baptiste Guerraz committed Jul 23, 2020
1 parent a5b8d54 commit 25bc6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/videobridge/client/views/videoFlexTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Template.videoFlexTab.onRendered(function() {
return Tracker.nonreactive(async () => {
await start();

const queryString = accessToken && `?jwt=${ accessToken }`;
const queryString = (accessToken && `?jwt=${ accessToken }`) || '';

const newWindow = window.open(`${ (noSsl ? 'http://' : 'https://') + domain }/${ jitsiRoom }${ queryString }`, jitsiRoom);
if (newWindow) {
Expand Down

0 comments on commit 25bc6ec

Please sign in to comment.