summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}