diff options
author | George Hazan <george.hazan@gmail.com> | 2023-12-29 17:03:21 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-12-29 17:03:21 +0300 |
commit | 9536e0bb47b12ea2ae01ab070dd9f6aa5bb360c2 (patch) | |
tree | a6663fa7d5aa9afcb51fe1b914e457acdcf5fa8f /plugins/SecureIM/src | |
parent | 28535b12d00c1ccfa98250dd2c7e87402545adba (diff) |
fixes #4085 (Удалить настройки невидимости)
Diffstat (limited to 'plugins/SecureIM/src')
-rw-r--r-- | plugins/SecureIM/src/crypt_check.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/SecureIM/src/crypt_check.cpp b/plugins/SecureIM/src/crypt_check.cpp index 7990de8f99..abe32b29a1 100644 --- a/plugins/SecureIM/src/crypt_check.cpp +++ b/plugins/SecureIM/src/crypt_check.cpp @@ -99,18 +99,6 @@ bool isContactInvisible(MCONTACT hContact) if (!db_mc_isSub(hContact) && Contact::IsHidden(hContact))
return true;
- pUinKey p = findUinKey(hContact);
- if (!p || p->waitForExchange || !p->proto || !p->proto->inspecting)
- return false;
-
- switch (db_get_w(hContact, p->proto->name, "ApparentMode", 0)) {
- case 0:
- return Proto_GetStatus(p->proto->name) == ID_STATUS_INVISIBLE;
- case ID_STATUS_ONLINE:
- return false;
- case ID_STATUS_OFFLINE:
- return true;
- }
return false;
}
|