mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-06-12 05:07:46 +02:00
feat(experimental): prevent forced logout
This commit is contained in:
@ -650,6 +650,10 @@
|
||||
"disable_composer_modules": {
|
||||
"name": "Disable Composer Modules",
|
||||
"description": "Prevents selected composer modules from being loaded\nNames must be separated by a comma"
|
||||
},
|
||||
"prevent_forced_logout": {
|
||||
"name": "Prevent Forced Logout",
|
||||
"description": "Prevents Snapchat from logging you out when you login on another device"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -32,4 +32,5 @@ class Experimental : ConfigContainer() {
|
||||
"added_by_community",
|
||||
) { addNotices(FeatureNotice.BAN_RISK) }
|
||||
val disableComposerModules = string("disable_composer_modules") { requireRestart(); nativeHooks() }
|
||||
val preventForcedLogout = boolean("prevent_forced_logout") { requireRestart(); addNotices(FeatureNotice.BAN_RISK, FeatureNotice.INTERNAL_BEHAVIOR); }
|
||||
}
|
Reference in New Issue
Block a user