From 8969c6d6ba6a0641768baa3a1e2bdfa51c59249b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 30 Jan 2019 15:59:55 +0300 Subject: fixes #1785 (sub's events aren't marked as read, because of that SRMM could read all events into a message log) --- include/delphi/m_database.inc | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'include') diff --git a/include/delphi/m_database.inc b/include/delphi/m_database.inc index df8161a615..1dd6902549 100644 --- a/include/delphi/m_database.inc +++ b/include/delphi/m_database.inc @@ -90,19 +90,6 @@ Events in a chain are sorted chronologically automatically } function db_event_first(hContact:TMCONTACT):TMEVENT; stdcall; external CoreDLL; -{ -Retrieves a handle to the first unread event in the chain for hContact -Returns the handle, or NULL if hContact is invalid or all its events have been -read - -Events in a chain are sorted chronologically automatically, but this does not -necessarily mean that all events after the first unread are unread too. They -should be checked individually with db_event_next() and db_event_get() -This service is designed for startup, reloading all the events that remained -unread from last time -} -function db_event_firstUnread(hContact:TMCONTACT):TMEVENT; stdcall; external CoreDLL; - { Retrieves all the information stored in hDbEvent hDbEvent should have been returned by db_event_add/first/last/next/prev() -- cgit v1.2.3