summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/mir_db.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/mir_db.h')
-rw-r--r--plugins/UserInfoEx/src/mir_db.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/UserInfoEx/src/mir_db.h b/plugins/UserInfoEx/src/mir_db.h
index 93df0f2a36..a11d01dca1 100644
--- a/plugins/UserInfoEx/src/mir_db.h
+++ b/plugins/UserInfoEx/src/mir_db.h
@@ -28,7 +28,10 @@ namespace DB {
* or modify contacts in the database.
**/
namespace Contact {
- LPTSTR DisplayName(MCONTACT hContact);
+ __forceinline LPTSTR DisplayName(MCONTACT hContact)
+ { return pcli->pfnGetContactDisplayName(hContact, 0);
+ }
+
LPSTR Proto(MCONTACT hContact);
INT_PTR GetCount();