SessionCtl // Bind .securityHardenedCompositionBuffer().

This commit is contained in:
ShikiSuen 2023-09-21 00:55:31 +08:00
parent e7b59a8cab
commit e915cd4503
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ import Shared
extension SessionCtl: InputHandlerDelegate {
public var clientMitigationLevel: Int {
guard !PrefMgr.shared.securityHardenedCompositionBuffer else { return 2 }
guard
let result = PrefMgr.shared.clientsIMKTextInputIncapable[clientBundleIdentifier]
else {