Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
conference: clear the pending subject after it has been set
Saúl Ibarra Corretgé871026f4baa0
diff --git a/react/features/base/conference/actions.js b/react/features/base/conference/actions.jsindex 23232b5724..77fd1629fd 100644--- a/react/features/base/conference/actions.js+++ b/react/features/base/conference/actions.js@@ -759,10 +759,6 @@ export function setSubject(subject: string = '') {const { conference } = getState()['features/base/conference'];if (conference) {- dispatch({- type: SET_PENDING_SUBJECT_CHANGE,- subject: undefined- });conference.setSubject(subject);} else {dispatch({diff --git a/react/features/base/conference/middleware.js b/react/features/base/conference/middleware.jsindex db67ed7864..76a5e59ee3 100644--- a/react/features/base/conference/middleware.js+++ b/react/features/base/conference/middleware.js@@ -36,7 +36,8 @@ import {CONFERENCE_WILL_LEAVE,DATA_CHANNEL_OPENED,SET_AUDIO_ONLY,- SET_LASTN+ SET_LASTN,+ SET_PENDING_SUBJECT_CHANGE} from './actionTypes';import {_addLocalTracksToConference,@@ -324,10 +325,17 @@ function _connectionFailed({ dispatch, getState }, next, action) {* @private* @returns {Object} The value returned by {@code next(action)}.*/-function _conferenceSubjectChanged({ getState }, next, action) {+function _conferenceSubjectChanged({ dispatch, getState }, next, action) {const result = next(action);const { subject } = getState()['features/base/conference'];+ if (subject) {+ dispatch({+ type: SET_PENDING_SUBJECT_CHANGE,+ subject: undefined+ });+ }+typeof APP === 'object' && APP.API.notifySubjectChanged(subject);return result;