summaryrefslogtreecommitdiff
path: root/src/core/stdfile/filerecvdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stdfile/filerecvdlg.cpp')
-rw-r--r--src/core/stdfile/filerecvdlg.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/stdfile/filerecvdlg.cpp b/src/core/stdfile/filerecvdlg.cpp
index f238a91199..5bed7dbd7b 100644
--- a/src/core/stdfile/filerecvdlg.cpp
+++ b/src/core/stdfile/filerecvdlg.cpp
@@ -139,8 +139,7 @@ void GetContactReceivedFilesDir(MCONTACT hContact, TCHAR *szDir, int cchDir, BOO
mir_sntprintf(tszTemp, SIZEOF(tszTemp), _T("%%mydocuments%%\\%s\\%%userid%%"), TranslateT("My received files"));
if (hContact) {
- if (db_mc_isSub(hContact))
- hContact = db_mc_getMeta(hContact);
+ hContact = db_mc_tryMeta(hContact);
REPLACEVARSDATA dat = { 0 };
REPLACEVARSARRAY rvaVarsToReplace[4];