mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Fix rendering of hidden events (#8334)
This commit is contained in:
parent
7335b35fbb
commit
d5887bf075
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user