mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 18:43:41 -05:00
web/roomview: show MXID and room ID on invite previews
This commit is contained in:
parent
800331f536
commit
a790396125
1 changed files with 2 additions and 1 deletions
|
@ -93,9 +93,10 @@ const RoomPreview = ({ roomID, via, alias, invite }: RoomPreviewProps) => {
|
||||||
src={getAvatarURL(invite.invited_by, invite.inviter_profile)}
|
src={getAvatarURL(invite.invited_by, invite.inviter_profile)}
|
||||||
alt=""
|
alt=""
|
||||||
/>
|
/>
|
||||||
{getDisplayname(invite.invited_by, invite.inviter_profile)} invited you to
|
{getDisplayname(invite.invited_by, invite.inviter_profile)} ({invite.invited_by}) invited you to
|
||||||
</div> : null}
|
</div> : null}
|
||||||
<h2 className="room-name">{name}</h2>
|
<h2 className="room-name">{name}</h2>
|
||||||
|
<code>{invite?.room_id}</code>
|
||||||
<img
|
<img
|
||||||
src={getRoomAvatarURL(invite ?? summary ?? { room_id: roomID })}
|
src={getRoomAvatarURL(invite ?? summary ?? { room_id: roomID })}
|
||||||
className="large avatar"
|
className="large avatar"
|
||||||
|
|
Loading…
Add table
Reference in a new issue