diff options
Diffstat (limited to 'src/modules/clist/contacts.cpp')
-rw-r--r-- | src/modules/clist/contacts.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/modules/clist/contacts.cpp b/src/modules/clist/contacts.cpp index 597a217199..b07aa7e921 100644 --- a/src/modules/clist/contacts.cpp +++ b/src/modules/clist/contacts.cpp @@ -205,6 +205,14 @@ static INT_PTR GetContactInfo(WPARAM, LPARAM lParam) { case CNF_UNIQUEID:
{
+ if (db_mc_isMeta(ci->hContact)) {
+ TCHAR buf[40];
+ _itot(ci->hContact, buf, 10);
+ ci->pszVal = mir_tstrdup(buf);
+ ci->type = CNFT_ASCIIZ;
+ return 0;
+ }
+
char *uid = (char*)CallProtoService(ci->szProto, PS_GETCAPS, PFLAG_UNIQUEIDSETTING, 0);
if ((INT_PTR)uid != CALLSERVICE_NOTFOUND && uid)
if (!ProcessDatabaseValueDefault(ci, uid))
|