Skip to content

Commit

Permalink
Fixup!
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul authored Aug 11, 2023
1 parent 84a5c93 commit c35b5cb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions spot-client/src/common/remote-control/xmpp-connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,13 +174,13 @@ export default class XmppConnection extends Emitter {
const JitsiMeetJS = JitsiMeetJSProvider.get();

const bosh = `${this.options.configuration.bosh}?room=${roomName}`;
const websocket = this.options.configuration.websocket ?
`${this.options.configuration.websocket}?room=${roomName}` :
undefined;
const websocket = this.options.configuration.websocket
? `${this.options.configuration.websocket}?room=${roomName}`
: undefined;
const serviceUrl = websocket ?? bosh;
const websocketKeepAliveUrl = this.options.configuration.websocketKeepAliveUrl ?
`${this.options.configuration.websocketKeepAliveUrl}?room=${roomName}` :
undefined;
const websocketKeepAliveUrl = this.options.configuration.websocketKeepAliveUrl
? `${this.options.configuration.websocketKeepAliveUrl}?room=${roomName}`
: undefined;

this.xmppConnection = new JitsiMeetJS.JitsiConnection(
null,
Expand Down

0 comments on commit c35b5cb

Please sign in to comment.