1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 09:56:24 +00:00

Update in-call player patch 1 (Discord doomsday fix) & improve match regex

This commit is contained in:
vappster 2024-06-19 23:46:34 +02:00 committed by GitHub
parent 181477d4bb
commit 4458e701a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)