Fix display name when logging in

More work related to issue #78.
This commit is contained in:
N-Pex 2021-04-01 10:11:30 +02:00
parent 1f4970368a
commit 3ed27e9f63
3 changed files with 4 additions and 4 deletions

View file

@ -53,7 +53,7 @@ export default {
currentUserDisplayName() {
if (this.ready) {
const user = this.matrixClient.getUser(this.currentUserId) || {}
return user.displayName;
return this.userDisplayName || user.displayName;
}
return null;
},