style a room pill even if we don't find the room

This commit is contained in:
Bruno Windels 2020-02-21 13:00:32 +01:00
parent f6313b51e6
commit 4219d2fcf6

View file

@ -241,8 +241,8 @@ const Pill = createReactClass({
if (this.props.shouldShowPillAvatar) { if (this.props.shouldShowPillAvatar) {
avatar = <RoomAvatar room={room} width={16} height={16} aria-hidden="true" />; avatar = <RoomAvatar room={room} width={16} height={16} aria-hidden="true" />;
} }
pillClass = 'mx_RoomPill';
} }
pillClass = 'mx_RoomPill';
} }
break; break;
case Pill.TYPE_GROUP_MENTION: { case Pill.TYPE_GROUP_MENTION: {