Merge pull request #1953 from matrix-org/t3chguy/skip_set_displayname

don't set the displayname on registration as Synapse now does it
pull/21833/head
Luke Barnard 2018-06-13 10:03:35 +01:00 committed by GitHub
commit 5a275fcfef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -1143,11 +1143,6 @@ export default React.createClass({
} else if (this._is_registered) {
this._is_registered = false;
// Set the display name = user ID localpart
MatrixClientPeg.get().setDisplayName(
MatrixClientPeg.get().getUserIdLocalpart(),
);
if (this.props.config.welcomeUserId && getCurrentLanguage().startsWith("en")) {
createRoom({
dmUserId: this.props.config.welcomeUserId,