Browse Source

fix(display-name): allow editing only if guest

master
Leonard Kim 8 years ago
parent
commit
ceeefb33c1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/UI/videolayout/LocalVideo.js

+ 1
- 1
modules/UI/videolayout/LocalVideo.js View File

@@ -86,7 +86,7 @@ LocalVideo.prototype.setDisplayName = function(displayName) {
86 86
     }
87 87
 
88 88
     this.updateDisplayName({
89
-        allowEditing: true,
89
+        allowEditing: APP.store.getState()['features/base/jwt'].isGuest,
90 90
         displayName,
91 91
         displayNameSuffix: interfaceConfig.DEFAULT_LOCAL_DISPLAY_NAME,
92 92
         elementID: 'localDisplayName',

Loading…
Cancel
Save