From ff90a56f5bdf24fff4e65b855eabd6837c8ab55b Mon Sep 17 00:00:00 2001 From: Martin Brennan Date: Mon, 13 Feb 2023 11:03:20 +1000 Subject: [PATCH] DEV: Test fix --- .../chat/assets/javascripts/discourse/routes/chat-channel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/chat/assets/javascripts/discourse/routes/chat-channel.js b/plugins/chat/assets/javascripts/discourse/routes/chat-channel.js index 4a4f9f29d3..e34f57c9ff 100644 --- a/plugins/chat/assets/javascripts/discourse/routes/chat-channel.js +++ b/plugins/chat/assets/javascripts/discourse/routes/chat-channel.js @@ -15,7 +15,7 @@ export default class ChatChannelRoute extends DiscourseRoute { if (!transition?.to?.name?.startsWith("chat.")) { this.chatStateManager.storeChatURL(); - this.chat.setActiveChannel(null); + this.chat.activeChannel = null; this.chat.updatePresence(); } }