summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-01-10 23:13:40 +0200
committerGeorge Hazan <ghazan@miranda.im>2019-01-10 23:13:40 +0200
commit1ec1b0f4686fcd220aecc28f7ec77036b55c43af (patch)
treec085b8692f83aaaf1eaf9056e173fb8713749c3d /protocols
parent1e86f4d089a1748ce1449074498a283a8639663b (diff)
fix: group chats with history are marked as NotOnList
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Icq10/src/utils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Icq10/src/utils.cpp b/protocols/Icq10/src/utils.cpp
index 5f1273716f..6cf6219322 100644
--- a/protocols/Icq10/src/utils.cpp
+++ b/protocols/Icq10/src/utils.cpp
@@ -24,7 +24,8 @@ void CIcqProto::InitContactCache()
{
mir_cslock l(m_csCache);
for (auto &it : AccContacts())
- m_arCache.insert(new IcqCacheItem(getDword(it, DB_KEY_UIN), it));
+ if (!isChatRoom(it))
+ m_arCache.insert(new IcqCacheItem(getDword(it, DB_KEY_UIN), it));
}
IcqCacheItem* CIcqProto::FindContactByUIN(DWORD dwUin)