Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix rendering of hidden events (#8334)
Browse files Browse the repository at this point in the history
  • Loading branch information
robintown authored Apr 15, 2022
1 parent 7335b35 commit d5887bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/rooms/EventTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ export class UnwrappedEventTile extends React.Component<IProps, IState> {
isLeftAlignedBubbleMessage,
noBubbleEvent,
isSeeingThroughMessageHiddenForModeration,
} = getEventDisplayInfo(this.props.mxEvent, this.shouldHideEvent());
} = getEventDisplayInfo(this.props.mxEvent, this.context.showHiddenEvents, this.shouldHideEvent());
const { isQuoteExpanded } = this.state;

// This shouldn't happen: the caller should check we support this type
Expand Down

0 comments on commit d5887bf

Please sign in to comment.