summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-01-24 16:40:44 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-01-24 16:40:44 +0300
commitb4c11792c062f53d09725b1b3aedaf7b77ec260f (patch)
treecee341e2a69118007389e8f081b792864c991ad9 /src
parent47a36c81c91640c484eddef1273eb73fb9a40bf8 (diff)
unused callback removed
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/chat_tools.cpp7
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);