From 083471eb212e87fac834638fbc49787bba0c4678 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 6 Mar 2021 13:55:18 +0300 Subject: less shit with this "(Unknown contact)" --- include/m_clist.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/m_clist.h b/include/m_clist.h index a27b0ac292..37d8520cbd 100644 --- a/include/m_clist.h +++ b/include/m_clist.h @@ -484,6 +484,7 @@ EXTERN_C MIR_APP_DLL(int) Clist_ContactCompare(MCONTACT hContact1, MCONTACT hCon // returns a static display name for a contact #define GCDNF_NOMYHANDLE 1 // will never return the user's custom name +#define GCDNF_NOUNKNOWN 2 // will return nullptr instead of "Unknown contact" #define GCDNF_NOCACHE 4 // will not use the cache EXTERN_C MIR_APP_DLL(wchar_t*) Clist_GetContactDisplayName(MCONTACT hContact, int mode = 0); -- cgit v1.2.3