Disable Viber chat OCR while preserving saved profiles
This commit is contained in:
1 parent
178573233b
commit
66e24b5efc
5 files changed
+11
-26
No files matched your search
@@ -4,8 +4,6 @@
|
||||
|
||||
namespace ks
|
||||
{
|
||||
std::wstring cachedViberChat(HWND);
|
||||
std::wstring recognizeViberChat(HWND, const Settings &);
|
||||
struct ChatSwitchHook
|
||||
{
|
||||
bool pressed[256]{};
|
||||
@@ -66,7 +64,6 @@ inline std::wstring chatKey(std::wstring process, std::wstring title)
|
||||
}
|
||||
inline std::wstring windowChatKey(HWND window)
|
||||
{
|
||||
if (window && lower(processName(window)) == L"viber") return cachedViberChat(window);
|
||||
return window ? chatKey(processName(window), chatTitle(window)) : L"";
|
||||
}
|
||||
inline std::vector<std::wstring> chatCycle(const Settings &settings, const std::wstring &key,
|
||||
|
||||
Reference in new issue
Block a user