Skip to content

Commit

Permalink
Fix shit
Browse files Browse the repository at this point in the history
  • Loading branch information
hellsuck authored Dec 14, 2024
1 parent 0765159 commit 6713fc8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/callTimer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,11 @@ export default definePlugin({
patches: [{
find: "renderConnectionStatus(){",
replacement: {
match: /(?<=renderConnectionStatus\(\)\{.+\.channel,children:)\i/,
match: /(?<=renderConnectionStatus\(\){.+\.channel,children:).+?}\):\i(?=}\))/,
replace: "[$&, $self.renderTimer(this.props.channel.id)]"
}
}],

renderTimer(channelId: string) {
return <ErrorBoundary noop>
<this.Timer channelId={channelId} />
Expand Down

0 comments on commit 6713fc8

Please sign in to comment.