Skip to content

A platform for community discussion. Free, open, simple.

UX: chat thread last replied user avatar (#26123)

David Battersby3aa1846fc029
diff --git a/plugins/chat/assets/javascripts/discourse/components/channel-icon/index.gjs b/plugins/chat/assets/javascripts/discourse/components/channel-icon/index.gjs
index e704540ce84..fc463d4e4cc 100644
--- a/plugins/chat/assets/javascripts/discourse/components/channel-icon/index.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/channel-icon/index.gjs
@@ -52,7 +52,7 @@ export default class ChatChannelIcon extends Component {
<div class="chat-channel-icon">
<div class="chat-channel-icon --avatar">
<ChatUserAvatar
- @user={{@thread.originalMessage.user}}
+ @user={{@thread.preview.lastReplyUser}}
@interactive={{true}}
@showPresence={{false}}
/>