fix(subject): set to ' ' after settings change.

This commit is contained in:
Hristo Terezov 2020-08-19 17:38:32 -05:00
parent 453c07cb17
commit 55175e2e95
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}
}