mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 03:06:53 +08:00
FIX: set active thread on correct channel (#27141)
activeChannel is something we should use less and less as it could not exist, in this case we have the channel right here in the function so there's no reason to reach for `this.chat.activeChannel`.
This commit is contained in:
@ -32,7 +32,7 @@ export default class ChatChannelThread extends DiscourseRoute {
|
||||
return;
|
||||
}
|
||||
|
||||
this.chat.activeChannel.activeThread = thread;
|
||||
channel.activeThread = thread;
|
||||
}
|
||||
|
||||
@action
|
||||
|
Reference in New Issue
Block a user