2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-10-03 17:21:20 +08:00

near-message-with-thread

This commit is contained in:
David Taylor 2025-09-23 13:55:33 +01:00
parent 04b73ba2be
commit 59581a5e37
No known key found for this signature in database
GPG key ID: 46904C18B1D3F434

View file

@ -8,7 +8,7 @@ export default class ChatChannelNearMessageWithThread extends DiscourseRoute {
@service site;

beforeModel() {
const channel = this.modelFor("chat-channel");
const channel = this.modelFor("chat.channel");
const { messageId, threadId } = this.paramsFor(this.routeName);
this.controllerFor("chat.channel").set("messageId", null);