mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-11 02:16:23 +00:00
fix(mediaPlaybackSpeed): update voice message patch
This commit is contained in:
parent
c9459e9cf7
commit
bf71bbc979
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ export default definePlugin({
|
||||||
patches: [
|
patches: [
|
||||||
// voice message embeds
|
// voice message embeds
|
||||||
{
|
{
|
||||||
find: "ComponentActions.VOICE_MESSAGE_PLAYBACK_STARTED",
|
find: "--:--",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /onVolumeShow:\i,onVolumeHide:\i\}\)(?<=useCallback\(\(\)=>\{let \i=(\i).current;.+?)/,
|
match: /onVolumeShow:\i,onVolumeHide:\i\}\)(?<=useCallback\(\(\)=>\{let \i=(\i).current;.+?)/,
|
||||||
replace: "$&,$self.playbackSpeedComponent($1)"
|
replace: "$&,$self.playbackSpeedComponent($1)"
|
||||||
|
|
Loading…
Reference in a new issue