don't set the displayname on registration as Synapse now does it

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2018-06-12 16:43:54 +01:00
parent e858cf3bcb
commit 175f1aa15c
No known key found for this signature in database
GPG Key ID: 3F879DA5AD802A5E

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,