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

This commit is contained in:
Leonard Kim 2017-12-13 15:37:27 -08:00 committed by yanas
parent d6c3ab64fa
commit ceeefb33c1
1 changed files with 1 additions and 1 deletions

View File

@ -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',