From 359ed316cafa15466f970d9f6e1cb717dfb34ab2 Mon Sep 17 00:00:00 2001 From: Robin Townsend Date: Thu, 14 Apr 2022 23:05:41 -0400 Subject: [PATCH] Fix rendering of hidden events --- src/components/views/rooms/EventTile.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/rooms/EventTile.tsx b/src/components/views/rooms/EventTile.tsx index 722b77b5af0..0dc89c57f4b 100644 --- a/src/components/views/rooms/EventTile.tsx +++ b/src/components/views/rooms/EventTile.tsx @@ -951,7 +951,7 @@ export class UnwrappedEventTile extends React.Component { 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