diff options
author | George Hazan <ghazan@miranda.im> | 2021-01-24 16:40:44 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-01-24 16:40:44 +0300 |
commit | b4c11792c062f53d09725b1b3aedaf7b77ec260f (patch) | |
tree | cee341e2a69118007389e8f081b792864c991ad9 /src | |
parent | 47a36c81c91640c484eddef1273eb73fb9a40bf8 (diff) |
unused callback removed
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/chat_tools.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mir_app/src/chat_tools.cpp b/src/mir_app/src/chat_tools.cpp index 4d1c2ef945..ffb7f3b62c 100644 --- a/src/mir_app/src/chat_tools.cpp +++ b/src/mir_app/src/chat_tools.cpp @@ -739,12 +739,7 @@ wchar_t* GetChatLogsFilename(SESSION_INFO *si, time_t tTime) }
else ptszVarPath = g_Settings->pszLogDir;
- wchar_t *tszParsedName = Utils_ReplaceVarsW(ptszVarPath, si->hContact, rva);
- if (g_chatApi.OnGetLogName)
- g_chatApi.OnGetLogName(si, tszParsedName);
- else
- PathToAbsoluteW(tszParsedName, si->pszLogFileName);
- mir_free(tszParsedName);
+ PathToAbsoluteW(ptrW(Utils_ReplaceVarsW(ptszVarPath, si->hContact, rva)), si->pszLogFileName);
for (auto &it : rva)
mir_free(it.value.w);
|