Fix issue with thread notification state ignoring initial events (#8417)
This commit is contained in:
parent
565488a10a
commit
fddbc429a9
2 changed files with 5 additions and 3 deletions
|
@ -991,9 +991,7 @@ export class UnwrappedEventTile extends React.Component<IProps, IState> {
|
|||
mx_EventTile_12hr: this.props.isTwelveHour,
|
||||
// Note: we keep the `sending` state class for tests, not for our styles
|
||||
mx_EventTile_sending: !isEditing && isSending,
|
||||
mx_EventTile_highlight: (this.context.timelineRenderingType === TimelineRenderingType.Notification
|
||||
? false
|
||||
: this.shouldHighlight()),
|
||||
mx_EventTile_highlight: this.shouldHighlight(),
|
||||
mx_EventTile_selected: this.props.isSelectedEvent || this.state.contextMenu,
|
||||
mx_EventTile_continuation: isContinuation || eventType === EventType.CallInvite,
|
||||
mx_EventTile_last: this.props.last,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue