fix another shc patch

This commit is contained in:
thororen1234 2026-02-04 23:15:01 -05:00
parent b42c702f1e
commit c04934c950
No known key found for this signature in database

View file

@ -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;"
}
},