callTimer: fix (#1850)

This commit is contained in:
AutumnVN 2023-10-25 19:48:42 +07:00 committed by Luna
parent 8b46f94a6b
commit aa0e4f0626

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)]"
}
}],