Merge pull request #6138 from matrix-org/gsouquet/containment-event

Fix mx_Event containment rules and empty read avatar row
This commit is contained in:
Germain 2021-06-03 16:38:55 +01:00 committed by GitHub
commit a36063704d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View file

@ -644,7 +644,7 @@ export default class EventTile extends React.Component<IProps, IState> {
// return early if there are no read receipts
if (!this.props.readReceipts || this.props.readReceipts.length === 0) {
return (<span className="mx_EventTile_readAvatars" />);
return null;
}
const ReadReceiptMarker = sdk.getComponent('rooms.ReadReceiptMarker');