summaryrefslogtreecommitdiff
path: root/protocols/Icq10
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Icq10')
-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)