From 74ebc22e8446a218035cfde0fc6e147b353d8e28 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 27 Oct 2023 15:51:27 +0300 Subject: MsgExport: no need to export offline attribute --- plugins/Msg_Export/src/utils.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'plugins/Msg_Export') diff --git a/plugins/Msg_Export/src/utils.cpp b/plugins/Msg_Export/src/utils.cpp index 58653db8ba..859857159c 100644 --- a/plugins/Msg_Export/src/utils.cpp +++ b/plugins/Msg_Export/src/utils.cpp @@ -781,7 +781,7 @@ static bool ExportDBEventInfo(MCONTACT hContact, HANDLE hFile, const wstring &sF if (mir_wstrlen(blob.getDescr())) pRoot << WCHAR_PARAM("descr", blob.getDescr()); if (blob.isOffline()) { - pRoot << INT_PARAM("offline", 1) << INT_PARAM("fileSize", blob.getSize()) << INT_PARAM("transferred", blob.getTransferred()); + pRoot << INT_PARAM("fileSize", blob.getSize()) << INT_PARAM("transferred", blob.getTransferred()); if (mir_wstrlen(blob.getLocalName())) pRoot << WCHAR_PARAM("localFile", blob.getLocalName()); if (mir_strlen(blob.getUrl())) @@ -838,10 +838,6 @@ static bool ExportDBEventInfo(MCONTACT hContact, HANDLE hFile, const wstring &sF } if (blob.isOffline()) { - bWriteNewLine(hFile, nIndent); - bWriteTextToFile(hFile, LPGENW("Offline: "), bWriteUTF8Format); - bWriteIndentedToFile(hFile, nIndent, L"1", bWriteUTF8Format); - CMStringW val(FORMAT, L"%d", blob.getSize()); bWriteNewLine(hFile, nIndent); bWriteTextToFile(hFile, LPGENW("Size: "), bWriteUTF8Format); -- cgit v1.2.3