From 55175e2e95759bd020a57fdeb2d8c895761606a1 Mon Sep 17 00:00:00 2001 From: Hristo Terezov Date: Wed, 19 Aug 2020 17:38:32 -0500 Subject: [PATCH] fix(subject): set to ' ' after settings change. --- react/features/base/conference/middleware.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/base/conference/middleware.js b/react/features/base/conference/middleware.js index 9b52dd4e9..cf800c745 100644 --- a/react/features/base/conference/middleware.js +++ b/react/features/base/conference/middleware.js @@ -624,7 +624,7 @@ function _updateLocalParticipantInConference({ dispatch, getState }, next, actio // When the local user role is updated to moderator and we have a pending subject change // which was not reflected we need to set it (the first time we tried was before becoming moderator). - if (pendingSubjectChange !== subject) { + if (typeof pendingSubjectChange !== 'undefined' && pendingSubjectChange !== subject) { dispatch(setSubject(pendingSubjectChange)); } }