mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-14 12:56:56 +03:00
Display room name
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
7489011ab7
commit
cc38bcf333
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ class Pill extends React.Component {
|
|||
case Pill.TYPE_ROOM_MENTION: {
|
||||
const room = this.state.room;
|
||||
if (room) {
|
||||
linkText = resource;
|
||||
linkText = room.name;
|
||||
if (this.props.shouldShowPillAvatar) {
|
||||
avatar = <RoomAvatar room={room} width={16} height={16} aria-hidden="true" />;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue