diff options
author | George Hazan <ghazan@miranda.im> | 2021-03-06 13:55:18 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-03-06 13:55:18 +0300 |
commit | 083471eb212e87fac834638fbc49787bba0c4678 (patch) | |
tree | 55f0dd0b9812780b77346a5cd6c8d34ab2415f99 /plugins/Msg_Export/src | |
parent | 90addbcbfc72fa396cf2fe89f245dbb0f7a14513 (diff) |
less shit with this "(Unknown contact)"
Diffstat (limited to 'plugins/Msg_Export/src')
-rwxr-xr-x | plugins/Msg_Export/src/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Msg_Export/src/utils.cpp b/plugins/Msg_Export/src/utils.cpp index 425e4d3bee..4e91949a22 100755 --- a/plugins/Msg_Export/src/utils.cpp +++ b/plugins/Msg_Export/src/utils.cpp @@ -349,7 +349,7 @@ wstring GetFilePathFromUser(MCONTACT hContact) // Here we will try to avoid the (Unknown contact) in cases where the protocol for
// this user has been removed.
- if (bNickUsed && (wcsstr(Clist_GetContactDisplayName(hContact), TranslateT("(Unknown contact)")) != nullptr))
+ if (bNickUsed && Clist_GetContactDisplayName(hContact, GCDNF_NOMYHANDLE) == nullptr)
return sPrevFileName; // Then the filename must have changed from a correct path to one including the (Unknown contact)
// file name has changed
|