1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-25 17:02:04 +03:00

Improve comment

This commit is contained in:
Luke Barnard
2017-05-26 11:47:55 +01:00
parent 2dcc03960a
commit c0f43a14fd

View File

@ -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()
);