callTimer: fix (#1850)
This commit is contained in:
parent
baa7d8c078
commit
2a56081bc2
1 changed files with 2 additions and 2 deletions
|
@ -73,9 +73,9 @@ export default definePlugin({
|
||||||
},
|
},
|
||||||
|
|
||||||
patches: [{
|
patches: [{
|
||||||
find: ".renderConnectionStatus=",
|
find: "renderConnectionStatus(){",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(?<=renderConnectionStatus=.+\.channel,children:)\w/,
|
match: /(?<=renderConnectionStatus\(\)\{.+\.channel,children:)\i/,
|
||||||
replace: "[$&, $self.renderTimer(this.props.channel.id)]"
|
replace: "[$&, $self.renderTimer(this.props.channel.id)]"
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
|
|
Loading…
Reference in a new issue