Display a padlock icon beside encrypted rooms in the room list
https://github.com/vector-im/riot-web/issues/11226
This commit is contained in:
parent
1d9d706b9c
commit
5d22561815
3 changed files with 34 additions and 0 deletions
|
@ -303,6 +303,7 @@ module.exports = createReactClass({
|
|||
'mx_RoomTile_noBadges': !badges,
|
||||
'mx_RoomTile_transparent': this.props.transparent,
|
||||
'mx_RoomTile_hasSubtext': subtext && !this.props.collapsed,
|
||||
'mx_RoomTile_isEncrypted': MatrixClientPeg.get().isRoomEncrypted(this.props.room.roomId),
|
||||
});
|
||||
|
||||
const avatarClasses = classNames({
|
||||
|
@ -428,6 +429,7 @@ module.exports = createReactClass({
|
|||
{ dmIndicator }
|
||||
</div>
|
||||
</div>
|
||||
<div className="mx_RoomTile_E2EIcon" />
|
||||
<div className="mx_RoomTile_nameContainer">
|
||||
<div className="mx_RoomTile_labelContainer">
|
||||
{ label }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue