fix(display-name): allow editing only if guest
This commit is contained in:
parent
d6c3ab64fa
commit
ceeefb33c1
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue