Skip to content

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

FIX: set active thread on correct channel (#27141)

Joffrey JAFFEUX22237e440785
diff --git a/plugins/chat/assets/javascripts/discourse/routes/chat-channel-thread.js b/plugins/chat/assets/javascripts/discourse/routes/chat-channel-thread.js
index 56a4f56b3fa..79a106f0374 100644
--- a/plugins/chat/assets/javascripts/discourse/routes/chat-channel-thread.js
+++ b/plugins/chat/assets/javascripts/discourse/routes/chat-channel-thread.js
@@ -32,7 +32,7 @@ export default class ChatChannelThread extends DiscourseRoute {
return;
}
- this.chat.activeChannel.activeThread = thread;
+ channel.activeThread = thread;
}
@action