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

Commit

Permalink
Fix flaky screenshot test
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Telatynski <[email protected]>
  • Loading branch information
t3chguy committed Oct 14, 2024
1 parent 66c97fb commit 5822a6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/components/structures/MessagePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,8 @@ export default class MessagePanel extends React.Component<IProps, IState> {
}

public readMarkerForEvent(eventId: string, isLastEvent: boolean): ReactNode {
if (this.context.timelineRenderingType === TimelineRenderingType.File) return null;

const visible = !isLastEvent && this.props.readMarkerVisible;

if (this.props.readMarkerEventId === eventId) {
Expand Down

0 comments on commit 5822a6c

Please sign in to comment.