diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Msg_Export/src/export.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/Msg_Export/src/export.cpp b/plugins/Msg_Export/src/export.cpp index 1d53c39269..ca2b9e108a 100644 --- a/plugins/Msg_Export/src/export.cpp +++ b/plugins/Msg_Export/src/export.cpp @@ -297,9 +297,12 @@ static bool ExportDBEventInfo(MCONTACT hContact, HANDLE hFile, const wstring &sF } if (dbei.szUserId && Contact::IsGroupChat(hContact)) - if (auto *si = Chat_Find(hContact, szProto)) + if (auto *si = Chat_Find(hContact, szProto)) { if (auto *pUser = g_chatApi.UM_FindUser(si, Utf2T(dbei.szUserId))) sRemoteUser = pUser->pszNick; + else + sRemoteUser = Utf2T(dbei.szUserId); + } // Get time stamp CMStringW output; @@ -325,7 +328,7 @@ static bool ExportDBEventInfo(MCONTACT hContact, HANDLE hFile, const wstring &sF { DB::FILE_BLOB blob(dbei); if (!blob.isCompleted()) - return false; + return true; output.Append(L"File: "); bWriteIndentedToFile(output, nIndent, blob.getName()); |