fix(subject): set to ' ' after settings change.
This commit is contained in:
parent
453c07cb17
commit
55175e2e95
|
@ -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
|
// 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).
|
// 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));
|
dispatch(setSubject(pendingSubjectChange));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue