Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Fixes display name for incoming chat messages, sender doesn't have nick.

damenchob1b3807e9bd6
diff --git a/conference.js b/conference.js
index 109d3d913e..4f3189f4dc 100644
--- a/conference.js
+++ b/conference.js
@@ -1716,6 +1716,13 @@ export default {
if (isButtonEnabled('chat')) {
room.on(JitsiConferenceEvents.MESSAGE_RECEIVED, (id, body, ts) => {
let nick = getDisplayName(id);
+
+ if (!nick) {
+ nick =
+ `${interfaceConfig.DEFAULT_REMOTE_DISPLAY_NAME} (${
+ id})`;
+ }
+
APP.API.notifyReceivedChatMessage({
id,
nick,