summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/VKontakte/src/vk_history.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_history.cpp b/protocols/VKontakte/src/vk_history.cpp
index 60413357ab..e0872ae243 100644
--- a/protocols/VKontakte/src/vk_history.cpp
+++ b/protocols/VKontakte/src/vk_history.cpp
@@ -96,7 +96,7 @@ void CVkProto::GetServerHistoryLastNDay(MCONTACT hContact, int NDay)
MEVENT hDBEventNext = db_event_next(hContact, hDBEvent);
DBEVENTINFO dbei = { sizeof(dbei) };
db_event_get(hDBEvent, &dbei);
- if (dbei.timestamp > tTime)
+ if (dbei.timestamp > tTime && dbei.eventType != VK_USER_DEACTIVATE_ACTION)
db_event_delete(hContact, hDBEvent);
hDBEvent = hDBEventNext;
}