parent
ee3dd935be
commit
bd60f9ebd4
2 changed files with 16 additions and 0 deletions
|
|
@ -24,6 +24,7 @@
|
|||
}}</span>
|
||||
</v-avatar>
|
||||
<div class="h1">{{ roomName }}</div>
|
||||
<div class="h3">{{ roomTopic }}</div>
|
||||
<div class="small">Created by {{ creator }}</div>
|
||||
<canvas class="qr" id="room-qr"></canvas>
|
||||
</div>
|
||||
|
|
@ -191,6 +192,13 @@ export default {
|
|||
return "";
|
||||
},
|
||||
|
||||
roomTopic() {
|
||||
if (this.room) {
|
||||
return this.room.topic;
|
||||
}
|
||||
return "";
|
||||
},
|
||||
|
||||
anyoneCanJoin() {
|
||||
// TODO: fix this! For now, just return true of we have a canonical alias.
|
||||
if (this.room && this.room.getCanonicalAlias() && this.room.getCanonicalAlias().startsWith('#')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue