Add room alias or id as fallback in room profile
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
11f395f65f
commit
c27b11bf25
2 changed files with 2 additions and 1 deletions
|
@ -153,6 +153,7 @@ function RoomProfile({ roomId }) {
|
|||
/>
|
||||
)}
|
||||
</div>
|
||||
<Text variant="b3">{room.getCanonicalAlias() || room.roomId}</Text>
|
||||
{roomTopic && <Text variant="b2">{twemojify(roomTopic, undefined, true)}</Text>}
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
& > *:last-child {
|
||||
& > *:not(:first-child) {
|
||||
margin-top: var(--sp-ultra-tight);
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
|
|
Loading…
Reference in a new issue