mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-11 11:16:11 +03:00
Improve comment
This commit is contained in:
parent
2dcc03960a
commit
c0f43a14fd
1 changed files with 1 additions and 1 deletions
|
@ -806,7 +806,7 @@ module.exports = React.createClass({
|
|||
} else if (this._is_registered) {
|
||||
this._is_registered = false;
|
||||
|
||||
// Set the display name = entered username
|
||||
// Set the display name = user ID localpart
|
||||
MatrixClientPeg.get().setDisplayName(
|
||||
MatrixClientPeg.get().getUserIdLocalpart()
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue