Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Vendicated/Vencord
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 7, 2024
2 parents a1322d3 + a3f5dc3 commit 90f0c23
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 @@ -53,10 +53,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 90f0c23

Please sign in to comment.