disableDMCallIdle: fix (#1856)

This commit is contained in:
AutumnVN 2023-10-25 20:34:17 +07:00 committed by V
parent 8c998b9330
commit cb2532d22c

View File

@ -27,7 +27,7 @@ export default definePlugin({
{
find: ".Messages.BOT_CALL_IDLE_DISCONNECT",
replacement: {
match: /(?<=function \i\(\){)(?=.{1,100}\.Messages\.BOT_CALL_IDLE_DISCONNECT)/,
match: /(?<=function \i\(\){)(?=.{1,120}\.Messages\.BOT_CALL_IDLE_DISCONNECT)/,
replace: "return;"
}
}