Improve comment
This commit is contained in:
@@ -806,7 +806,7 @@ module.exports = React.createClass({
|
|||||||
} else if (this._is_registered) {
|
} else if (this._is_registered) {
|
||||||
this._is_registered = false;
|
this._is_registered = false;
|
||||||
|
|
||||||
// Set the display name = entered username
|
// Set the display name = user ID localpart
|
||||||
MatrixClientPeg.get().setDisplayName(
|
MatrixClientPeg.get().setDisplayName(
|
||||||
MatrixClientPeg.get().getUserIdLocalpart()
|
MatrixClientPeg.get().getUserIdLocalpart()
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user