From 1b514aa6ab1e009af189c804046c1ca15e9aaf92 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 8 Dec 2018 20:27:40 +0300 Subject: fixes #1656 (Discord: User ID unknown) --- src/mir_app/src/contacts.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mir_app') 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); -- cgit v1.2.3