From e0ed9d34c0c21d3436e855fa1d32a0f824583116 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 13 Mar 2014 12:46:12 +0000 Subject: another atavism died: DBEF_FIRST git-svn-id: http://svn.miranda-ng.org/main/trunk@8590 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Import/src/import.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'plugins/Import') diff --git a/plugins/Import/src/import.cpp b/plugins/Import/src/import.cpp index cc005be35d..a6411c4621 100644 --- a/plugins/Import/src/import.cpp +++ b/plugins/Import/src/import.cpp @@ -336,7 +336,6 @@ static void ImportHistory(MCONTACT hContact, PROTOACCOUNT **protocol, int protoC int i = 0, skipAll = 0; DWORD cbAlloc = 4096; BYTE* eventBuf = (PBYTE)mir_alloc(cbAlloc); - bool bIsVoidContact = dstDb->GetEventCount(hDst) == 0; // Get the start of the event chain HANDLE hEvent = srcDb->FindFirstEvent(hContact); @@ -406,8 +405,6 @@ static void ImportHistory(MCONTACT hContact, PROTOACCOUNT **protocol, int protoC // Check for duplicate entries if (!IsDuplicateEvent((MCONTACT)hDst, dbei)) { // Add dbevent - if (!bIsVoidContact) - dbei.flags &= ~DBEF_FIRST; if (dstDb->AddEvent(hDst, &dbei) != NULL) nMessagesCount++; else -- cgit v1.2.3