summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-29 17:03:21 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-29 17:03:21 +0300
commit9536e0bb47b12ea2ae01ab070dd9f6aa5bb360c2 (patch)
treea6663fa7d5aa9afcb51fe1b914e457acdcf5fa8f /plugins/SecureIM/src
parent28535b12d00c1ccfa98250dd2c7e87402545adba (diff)
fixes #4085 (Удалить настройки невидимости)
Diffstat (limited to 'plugins/SecureIM/src')
-rw-r--r--plugins/SecureIM/src/crypt_check.cpp12
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;
}