From bf71bbc979b7ec6a609c8e7e5e7f0bd20f9d990e Mon Sep 17 00:00:00 2001 From: Nico Date: Wed, 19 Jun 2024 07:09:54 +0200 Subject: [PATCH] fix(mediaPlaybackSpeed): update voice message patch --- src/plugins/mediaPlaybackSpeed/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/mediaPlaybackSpeed/index.tsx b/src/plugins/mediaPlaybackSpeed/index.tsx index aa9c48f54..209b518c5 100644 --- a/src/plugins/mediaPlaybackSpeed/index.tsx +++ b/src/plugins/mediaPlaybackSpeed/index.tsx @@ -73,7 +73,7 @@ export default definePlugin({ patches: [ // voice message embeds { - find: "ComponentActions.VOICE_MESSAGE_PLAYBACK_STARTED", + find: "--:--", replacement: { match: /onVolumeShow:\i,onVolumeHide:\i\}\)(?<=useCallback\(\(\)=>\{let \i=(\i).current;.+?)/, replace: "$&,$self.playbackSpeedComponent($1)"