fix another shc patch
This commit is contained in:
parent
b42c702f1e
commit
c04934c950
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ export default definePlugin({
|
|||
all: true,
|
||||
// Render null instead of the buttons if the channel is hidden
|
||||
replacement: {
|
||||
match: /(?<="renderOpenChatButton",\(\)=>{)/,
|
||||
match: /(?<=renderOpenChatButton(?:",|=)\(\)=>{)/,
|
||||
replace: "if($self.isHiddenChannel(this.props.channel))return null;"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue