summaryrefslogtreecommitdiff
path: root/plugins/Msg_Export/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-10-27 15:51:27 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-10-27 15:51:27 +0300
commit74ebc22e8446a218035cfde0fc6e147b353d8e28 (patch)
tree68a6e33c5cbeac7eb7344044f4dfc49937620257 /plugins/Msg_Export/src
parent760fac6ab159ebaa720ef707b3cf0c2c31d3bb98 (diff)
MsgExport: no need to export offline attribute
Diffstat (limited to 'plugins/Msg_Export/src')
-rw-r--r--plugins/Msg_Export/src/utils.cpp6
1 files changed, 1 insertions, 5 deletions
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);