From 259bd5726faf89964ff6ee7ec0858d39ff6ac170 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 23 Jan 2014 22:26:29 +0000 Subject: fix for chat logs & Folders git-svn-id: http://svn.miranda-ng.org/main/trunk@7845 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/chat/tools.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/modules/chat/tools.cpp') diff --git a/src/modules/chat/tools.cpp b/src/modules/chat/tools.cpp index 5574f49e86..23980a5e91 100644 --- a/src/modules/chat/tools.cpp +++ b/src/modules/chat/tools.cpp @@ -801,7 +801,10 @@ TCHAR* GetChatLogsFilename(SESSION_INFO *si, time_t tTime) dat.hContact = si->hContact; dat.variables = rva; TCHAR *tszParsedName = (TCHAR*)CallService(MS_UTILS_REPLACEVARS, (WPARAM)ptszVarPath, (LPARAM)&dat); - PathToAbsoluteT(tszParsedName, si->pszLogFileName); + if (ci.OnGetLogName) + ci.OnGetLogName(si, tszParsedName); + else + PathToAbsoluteT(tszParsedName, si->pszLogFileName); mir_free(tszParsedName); for (int i = 0; i < SIZEOF(rva); i++) -- cgit v1.2.3