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
fix(chat): Clears private message notice if sender leaves.
damencho609eab5f83f8
diff --git a/react/features/chat/middleware.ts b/react/features/chat/middleware.tsindex 737fd87f65..e44688b395 100644--- a/react/features/chat/middleware.ts+++ b/react/features/chat/middleware.ts@@ -240,6 +240,13 @@ MiddlewareRegistry.register(store => next => action => {case PARTICIPANT_JOINED:case PARTICIPANT_LEFT:case PARTICIPANT_UPDATED: {+ if (action.type === PARTICIPANT_LEFT) {+ const { privateMessageRecipient } = store.getState()['features/chat'];++ if (action.participant?.id === privateMessageRecipient?.id) {+ store.dispatch(setPrivateMessageRecipient());+ }+ }if (_shouldNotifyPrivateRecipientsChanged(store, action)) {const result = next(action);