Only hide sender when in bubble mode

This commit is contained in:
Germain Souquet 2021-07-14 17:16:13 +02:00
parent a6120ef3b7
commit dde58d449d

View file

@ -712,7 +712,7 @@ export default class MessagePanel extends React.Component<IProps, IState> {
layout={this.props.layout}
enableFlair={this.props.enableFlair}
showReadReceipts={this.props.showReadReceipts}
hideSender={this.props.room.getMembers().length <= 2}
hideSender={this.props.room.getMembers().length <= 2 && this.props.layout === Layout.Bubble}
/>
</TileErrorBoundary>,
);