mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 18:06:22 +00:00
Update in-call player patch 1 (Discord doomsday fix) & improve match regex
This commit is contained in:
parent
181477d4bb
commit
4458e701a5
1 changed files with 3 additions and 3 deletions
|
@ -32,10 +32,10 @@ export default definePlugin({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ //in-call player patch #1 (keep stream playing)
|
{ //in-call player patch #1 (keep stream playing)
|
||||||
find: "VideoStreamFit:",
|
find: "onSpinnerStarted():null",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /paused:\i}\)/,
|
match: /paused:\i([^=])/,
|
||||||
replace: "paused:false})"
|
replace: "paused:false$1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ //in-call player patch #2 (disable "your stream is still running" text overlay)
|
{ //in-call player patch #2 (disable "your stream is still running" text overlay)
|
||||||
|
|
Loading…
Reference in a new issue