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({
|
this.updateDisplayName({
|
||||||
allowEditing: true,
|
allowEditing: APP.store.getState()['features/base/jwt'].isGuest,
|
||||||
displayName,
|
displayName,
|
||||||
displayNameSuffix: interfaceConfig.DEFAULT_LOCAL_DISPLAY_NAME,
|
displayNameSuffix: interfaceConfig.DEFAULT_LOCAL_DISPLAY_NAME,
|
||||||
elementID: 'localDisplayName',
|
elementID: 'localDisplayName',
|
||||||
|
|
Loading…
Reference in New Issue