summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-27 10:44:09 +0200
committerGeorge Hazan <ghazan@miranda.im>2018-04-27 10:44:36 +0200
commit0fd7fe641f5354f8d38c82dc74d1999a0a3ab294 (patch)
treed65b00a4ba56faf2d3ed00e6aac6089296cded87
parent31de2bbd767fee0c11ef1011d94d6ed14184e32d (diff)
stub for StdClist & Clist_Nicer
-rw-r--r--src/mir_app/src/clistsettings.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mir_app/src/clistsettings.cpp b/src/mir_app/src/clistsettings.cpp
index 68e4f765f8..0bc6ea0435 100644
--- a/src/mir_app/src/clistsettings.cpp
+++ b/src/mir_app/src/clistsettings.cpp
@@ -68,6 +68,9 @@ void fnCheckCacheItem(ClcCacheEntry *p)
p->tszGroup = mir_wstrdup(L"");
}
+ if (p->szProto == nullptr)
+ p->szProto = GetContactProto(p->hContact);
+
if (p->bIsHidden == -1)
p->bIsHidden = db_get_b(p->hContact, "CList", "Hidden", 0);
}