From e96132b4d5344d2d58d247906bcaefccfb9d5253 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 20 Dec 2023 13:34:45 +0300 Subject: DBEVENTINFO::hContact to be returned inside an event, no need to call db_event_getContact() just after db_event_get() --- include/delphi/m_database.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/delphi') diff --git a/include/delphi/m_database.inc b/include/delphi/m_database.inc index ab9e66984c..93baaf542e 100644 --- a/include/delphi/m_database.inc +++ b/include/delphi/m_database.inc @@ -42,7 +42,8 @@ type szModule : PAnsiChar; // module that 'owns' this event and controls the data format timestamp: dword; // timestamp in UNIX time flags : dword; // the DBEF_* flags above - eventType: word; // event type, such as message, can be module defined + eventType: dword; // event type, such as message, can be module defined + hContact : TMCONTACT; // contact to which this event belongs cbBlob : dword; // size in bytes of pBlob^ pBlob : PByte; // pointer to buffer containing the module defined event data szId : PAnsiChar; // server id of event -- cgit v1.2.3