Only hide sender when in bubble mode

pull/21833/head
Germain Souquet 2021-07-14 17:16:13 +02:00
parent a6120ef3b7
commit dde58d449d
1 changed files with 1 additions and 1 deletions

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>,
);