Skip to content

Commit

Permalink
Fix rendering of hidden events (matrix-org#8334)
Browse files Browse the repository at this point in the history
  • Loading branch information
robintown authored and Johennes committed Apr 19, 2022
1 parent e871f14 commit 63d80d6
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 63d80d6

Please sign in to comment.