diff --git a/plugins/chat/assets/javascripts/discourse/routes/chat-threads.js b/plugins/chat/assets/javascripts/discourse/routes/chat-threads.js index fa720bcc825..6ce22e523de 100644 --- a/plugins/chat/assets/javascripts/discourse/routes/chat-threads.js +++ b/plugins/chat/assets/javascripts/discourse/routes/chat-threads.js @@ -3,8 +3,10 @@ import DiscourseRoute from "discourse/routes/discourse"; export default class ChatChannelThreads extends DiscourseRoute { @service chat; + @service chatStateManager; activate() { this.chat.activeChannel = null; + this.chatStateManager.closeSidePanel(); } }