callTimer: fix (#1850)

This commit is contained in:
AutumnVN 2023-10-25 19:48:42 +07:00 committed by V
parent baa7d8c078
commit 2a56081bc2

View File

@ -73,9 +73,9 @@ export default definePlugin({
},
patches: [{
find: ".renderConnectionStatus=",
find: "renderConnectionStatus(){",
replacement: {
match: /(?<=renderConnectionStatus=.+\.channel,children:)\w/,
match: /(?<=renderConnectionStatus\(\)\{.+\.channel,children:)\i/,
replace: "[$&, $self.renderTimer(this.props.channel.id)]"
}
}],