More work on leve room dialog

Issue #21
This commit is contained in:
N-Pex 2021-03-27 09:38:27 +01:00
parent d0a5fcb79a
commit 31535f0f3c
4 changed files with 109 additions and 47 deletions

View file

@ -50,6 +50,14 @@ export default {
return user.user_id;
},
currentUserDisplayName() {
if (this.ready) {
const user = this.matrixClient.getUser(this.currentUserId) || {}
return user.displayName;
}
return null;
},
currentRoomId() {
return this.$store.state.currentRoomId;
},