parent
ee3dd935be
commit
bd60f9ebd4
2 changed files with 16 additions and 0 deletions
|
|
@ -29,6 +29,14 @@ $chat-button-height: 50px;
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.h3 {
|
||||||
|
font-family: 'Poppins', sans-serif;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 18 * $chat-text-size;
|
||||||
|
text-align: center;
|
||||||
|
color: #505050;
|
||||||
|
}
|
||||||
|
|
||||||
.v-btn.outlined-button {
|
.v-btn.outlined-button {
|
||||||
font-family: 'Inter', sans-serif;
|
font-family: 'Inter', sans-serif;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@
|
||||||
}}</span>
|
}}</span>
|
||||||
</v-avatar>
|
</v-avatar>
|
||||||
<div class="h1">{{ roomName }}</div>
|
<div class="h1">{{ roomName }}</div>
|
||||||
|
<div class="h3">{{ roomTopic }}</div>
|
||||||
<div class="small">Created by {{ creator }}</div>
|
<div class="small">Created by {{ creator }}</div>
|
||||||
<canvas class="qr" id="room-qr"></canvas>
|
<canvas class="qr" id="room-qr"></canvas>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -191,6 +192,13 @@ export default {
|
||||||
return "";
|
return "";
|
||||||
},
|
},
|
||||||
|
|
||||||
|
roomTopic() {
|
||||||
|
if (this.room) {
|
||||||
|
return this.room.topic;
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
},
|
||||||
|
|
||||||
anyoneCanJoin() {
|
anyoneCanJoin() {
|
||||||
// TODO: fix this! For now, just return true of we have a canonical alias.
|
// TODO: fix this! For now, just return true of we have a canonical alias.
|
||||||
if (this.room && this.room.getCanonicalAlias() && this.room.getCanonicalAlias().startsWith('#')) {
|
if (this.room && this.room.getCanonicalAlias() && this.room.getCanonicalAlias().startsWith('#')) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue