diff options
author | George Hazan <ghazan@miranda.im> | 2018-12-08 20:27:40 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-12-08 20:27:40 +0300 |
commit | 1b514aa6ab1e009af189c804046c1ca15e9aaf92 (patch) | |
tree | 9d12cf8451d5b720e1babc80214db3fe7a22cb4f | |
parent | edf18049997d00eaad7a2fab9581176782182535 (diff) |
fixes #1656 (Discord: User ID unknown)
-rw-r--r-- | src/mir_app/src/contacts.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mir_app/src/contacts.cpp b/src/mir_app/src/contacts.cpp index 1ce2f46b4b..447af7ea02 100644 --- a/src/mir_app/src/contacts.cpp +++ b/src/mir_app/src/contacts.cpp @@ -79,6 +79,8 @@ static wchar_t* ProcessDatabaseValueDefault(MCONTACT hContact, const char *szPro return mir_wstrdup(_itow(dbv.wVal, buf, 10));
case DBVT_DWORD:
return mir_wstrdup(_itow(dbv.dVal, buf, 10));
+ case DBVT_BLOB:
+ return mir_wstrdup(bin2hexW(dbv.pbVal, min(dbv.cpbVal, 19), buf));
}
db_free(&dbv);
|