Remove null check that was fixed in another PR

See https://github.com/matrix-org/matrix-react-sdk/pull/4255
This commit is contained in:
Travis Ralston 2020-03-21 11:35:07 -06:00 committed by GitHub
parent 94d23c815a
commit c17c47d88b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -475,8 +475,6 @@ export default class WidgetUtils {
} }
static getLocalJitsiWrapperUrl(opts: {forLocalRender?: boolean}) { static getLocalJitsiWrapperUrl(opts: {forLocalRender?: boolean}) {
if (!opts) opts = {};
// NB. we can't just encodeURIComponent all of these because the $ signs need to be there // NB. we can't just encodeURIComponent all of these because the $ signs need to be there
const queryString = [ const queryString = [
'conferenceDomain=$domain', 'conferenceDomain=$domain',