parent
d0a5fcb79a
commit
31535f0f3c
4 changed files with 109 additions and 47 deletions
|
|
@ -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;
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue