Fix rendering of hidden events (#8334)

This commit is contained in:
Robin 2022-04-15 06:57:14 -04:00 committed by GitHub
parent 7335b35fbb
commit d5887bf075
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -951,7 +951,7 @@ export class UnwrappedEventTile extends React.Component<IProps, IState> {
isLeftAlignedBubbleMessage, isLeftAlignedBubbleMessage,
noBubbleEvent, noBubbleEvent,
isSeeingThroughMessageHiddenForModeration, isSeeingThroughMessageHiddenForModeration,
} = getEventDisplayInfo(this.props.mxEvent, this.shouldHideEvent()); } = getEventDisplayInfo(this.props.mxEvent, this.context.showHiddenEvents, this.shouldHideEvent());
const { isQuoteExpanded } = this.state; const { isQuoteExpanded } = this.state;
// This shouldn't happen: the caller should check we support this type // This shouldn't happen: the caller should check we support this type