From c17c47d88b6217296ce505ec58cdf68d89adaf43 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Sat, 21 Mar 2020 11:35:07 -0600 Subject: [PATCH] Remove null check that was fixed in another PR See https://github.com/matrix-org/matrix-react-sdk/pull/4255 --- src/utils/WidgetUtils.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/utils/WidgetUtils.js b/src/utils/WidgetUtils.js index 7823ca2531..7d6bf5e90d 100644 --- a/src/utils/WidgetUtils.js +++ b/src/utils/WidgetUtils.js @@ -475,8 +475,6 @@ export default class WidgetUtils { } static getLocalJitsiWrapperUrl(opts: {forLocalRender?: boolean}) { - if (!opts) opts = {}; - // NB. we can't just encodeURIComponent all of these because the $ signs need to be there const queryString = [ 'conferenceDomain=$domain',