diff --git a/client/src/modules/reactcomponents.js b/client/src/modules/reactcomponents.js index 27637bd9..555fd1b3 100644 --- a/client/src/modules/reactcomponents.js +++ b/client/src/modules/reactcomponents.js @@ -366,7 +366,7 @@ export class ReactAutoPatcher { } static async patchChannel() { - this.Channel = await ReactComponents.getComponent('Channel'); + this.Channel = await ReactComponents.getComponent('Channel', {selector: '.chat'}); this.unpatchChannel = MonkeyPatch('BD:ReactComponents', this.Channel.component.prototype).after('render', (component, args, retVal) => { const channel = component.props.channel || component.state.channel; if (!channel) return;