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
feat(external-api) set `privateMessage` flag on `incoming-message`
hmuresan1196ede961c1
diff --git a/modules/API/API.js b/modules/API/API.jsindex 1ea7a77548..34598183e7 100644--- a/modules/API/API.js+++ b/modules/API/API.js@@ -592,8 +592,8 @@ class API {* @returns {void}*/notifyReceivedChatMessage(- { body, id, nick, ts }: {- body: *, id: string, nick: string, ts: *+ { body, id, nick, privateMessage, ts }: {+ body: *, id: string, nick: string, privateMessage: boolean, ts: *} = {}) {if (APP.conference.isLocalId(id)) {return;@@ -604,6 +604,7 @@ class API {from: id,message: body,nick,+ privateMessage,stamp: ts});}diff --git a/react/features/chat/middleware.js b/react/features/chat/middleware.jsindex 2e234c73d5..398a42d360 100644--- a/react/features/chat/middleware.js+++ b/react/features/chat/middleware.js@@ -247,6 +247,7 @@ function _handleReceivedMessage({ dispatch, getState }, { id, message, privateMebody: message,id,nick: displayName,+ privateMessage,ts: timestamp});