Fix DisableCallIdle
This commit is contained in:
parent
ec34412100
commit
344f8c9f03
|
@ -29,7 +29,7 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: ".Messages.BOT_CALL_IDLE_DISCONNECT",
|
find: ".Messages.BOT_CALL_IDLE_DISCONNECT",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /,?(?=this\.idleTimeout=new \i\.Timeout)/,
|
match: /,?(?=\i\(this,"idleTimeout",new \i\.Timeout\))/,
|
||||||
replace: ";return;"
|
replace: ";return;"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue