From b4c11792c062f53d09725b1b3aedaf7b77ec260f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 24 Jan 2021 16:40:44 +0300 Subject: unused callback removed --- src/mir_app/src/chat_tools.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src') 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); -- cgit v1.2.3