diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/clcitems.cpp | 2 | ||||
-rw-r--r-- | src/mir_app/src/clistsettings.cpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/mir_app/src/clcitems.cpp b/src/mir_app/src/clcitems.cpp index 45bcaee71c..4a6a537463 100644 --- a/src/mir_app/src/clcitems.cpp +++ b/src/mir_app/src/clcitems.cpp @@ -363,6 +363,8 @@ void fnRebuildEntireList(HWND hwnd, ClcData *dat) int nHiddenStatus = cli.pfnGetContactHiddenStatus(hContact, nullptr, dat); if (((style & CLS_SHOWHIDDEN) && nHiddenStatus != -1) || !nHiddenStatus) { ClcCacheEntry *pce = cli.pfnGetCacheEntry(hContact); + if (pce->szProto == nullptr) + continue; ClcGroup *group; ptrW tszGroupName(db_get_wsa(hContact, "CList", "Group")); diff --git a/src/mir_app/src/clistsettings.cpp b/src/mir_app/src/clistsettings.cpp index c2272920f8..b81767e776 100644 --- a/src/mir_app/src/clistsettings.cpp +++ b/src/mir_app/src/clistsettings.cpp @@ -49,6 +49,7 @@ ClcCacheEntry* fnCreateCacheItem(MCONTACT hContact) return nullptr;
p->hContact = hContact;
+ p->szProto = GetContactProto(hContact);
return p;
}
|