Room info bottom sheet

Issue #89.
This commit is contained in:
N-Pex 2021-03-11 13:55:10 +01:00
parent 2b3f99c421
commit 6d97fd030d
9 changed files with 240 additions and 42 deletions

View file

@ -0,0 +1,28 @@
export default {
computed: {
room() {
return this.$matrix.currentRoom;
},
roomName() {
if (this.room) {
return this.room.name;
}
return "";
},
roomTopic() {
if (this.room) {
return this.room.topic;
}
return "";
},
roomAvatar() {
if (this.room) {
return this.room.avatar;
}
return "";
},
},
}