You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-18 09:22:18 +03:00
address PR comments
This commit is contained in:
@ -27,14 +27,10 @@ module.exports = React.createClass({
|
||||
|
||||
getInitialState: function() {
|
||||
return {
|
||||
value: this.props.currentDisplayName || this.getDefaultDisplayName(),
|
||||
value: this.props.currentDisplayName || "Guest "+MatrixClientPeg.get().getUserIdLocalpart(),
|
||||
}
|
||||
},
|
||||
|
||||
getDefaultDisplayName: function() {
|
||||
return "Guest "+MatrixClientPeg.get().getUserIdLocalpart();
|
||||
},
|
||||
|
||||
getValue: function() {
|
||||
return this.state.value;
|
||||
},
|
||||
|
Reference in New Issue
Block a user