From ceeefb33c15fc6e4e27707c81715442bf5fb408c Mon Sep 17 00:00:00 2001 From: Leonard Kim Date: Wed, 13 Dec 2017 15:37:27 -0800 Subject: [PATCH] fix(display-name): allow editing only if guest --- modules/UI/videolayout/LocalVideo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/UI/videolayout/LocalVideo.js b/modules/UI/videolayout/LocalVideo.js index d64e3caf2..9fa4e1ad5 100644 --- a/modules/UI/videolayout/LocalVideo.js +++ b/modules/UI/videolayout/LocalVideo.js @@ -86,7 +86,7 @@ LocalVideo.prototype.setDisplayName = function(displayName) { } this.updateDisplayName({ - allowEditing: true, + allowEditing: APP.store.getState()['features/base/jwt'].isGuest, displayName, displayNameSuffix: interfaceConfig.DEFAULT_LOCAL_DISPLAY_NAME, elementID: 'localDisplayName',