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

Commit d5887bf

Browse files
authored
Fix rendering of hidden events (#8334)
1 parent 7335b35 commit d5887bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/rooms/EventTile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ export class UnwrappedEventTile extends React.Component<IProps, IState> {
951951
isLeftAlignedBubbleMessage,
952952
noBubbleEvent,
953953
isSeeingThroughMessageHiddenForModeration,
954-
} = getEventDisplayInfo(this.props.mxEvent, this.shouldHideEvent());
954+
} = getEventDisplayInfo(this.props.mxEvent, this.context.showHiddenEvents, this.shouldHideEvent());
955955
const { isQuoteExpanded } = this.state;
956956

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

0 commit comments

Comments
 (0)