From ba5bd74ac87af29a14ff944a6d5dfaaefcf40c82 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 14 Oct 2022 12:48:17 +0100 Subject: [PATCH] Inhibit clicking on sender avatar in threads list (#9417) --- src/components/views/rooms/EventTile.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/views/rooms/EventTile.tsx b/src/components/views/rooms/EventTile.tsx index 8b88a35670..654cc80b67 100644 --- a/src/components/views/rooms/EventTile.tsx +++ b/src/components/views/rooms/EventTile.tsx @@ -1078,13 +1078,15 @@ export class UnwrappedEventTile extends React.Component { } else { member = this.props.mxEvent.sender; } + // In the ThreadsList view we use the entire EventTile as a click target to open the thread instead + const viewUserOnClick = this.context.timelineRenderingType !== TimelineRenderingType.ThreadsList; avatar = (