diff options
| author | George Hazan <ghazan@miranda.im> | 2021-03-06 13:55:18 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2021-03-06 13:55:18 +0300 |
| commit | 083471eb212e87fac834638fbc49787bba0c4678 (patch) | |
| tree | 55f0dd0b9812780b77346a5cd6c8d34ab2415f99 /include | |
| parent | 90addbcbfc72fa396cf2fe89f245dbb0f7a14513 (diff) | |
less shit with this "(Unknown contact)"
Diffstat (limited to 'include')
| -rw-r--r-- | include/m_clist.h | 1 |
1 files changed, 1 insertions, 0 deletions
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);
|
