Skip to content

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

fix(conference): Change display name when ChatRoom is not created yet

hristoterezovbdd133309dba
diff --git a/conference.js b/conference.js
index 22ce06cc1c..dee5fc8876 100644
--- a/conference.js
+++ b/conference.js
@@ -2048,8 +2048,9 @@ export default {
}
APP.settings.setDisplayName(formattedNickname);
- room.setDisplayName(formattedNickname);
- APP.UI.changeDisplayName(this.getMyUserId(),
- formattedNickname);
+ if (room) {
+ room.setDisplayName(formattedNickname);
+ APP.UI.changeDisplayName(this.getMyUserId(), formattedNickname);
+ }
}
};