From f43396cbff99cc7cc9410f12e55783ad12d1d2f7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 17 Apr 2023 20:07:16 +0300 Subject: Jabber: - option autoloadoob removed due to offline files support; - added support for encrypted offline files --- include/m_database.h | 1 + include/m_protosvc.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include') diff --git a/include/m_database.h b/include/m_database.h index e927084bed..b55c1abedc 100644 --- a/include/m_database.h +++ b/include/m_database.h @@ -177,6 +177,7 @@ struct DBVARIANT #define DBEF_UTF 0x0010 // event contains a text in utf-8 #define DBEF_ENCRYPTED 0x0020 // event is encrypted (never reported outside a driver) #define DBEF_HAS_ID 0x0040 // event has unique server id +#define DBEF_SECURE 0x0080 // event is encrypted struct DBEVENTINFO { diff --git a/include/m_protosvc.h b/include/m_protosvc.h index a49788f6e6..11963877d0 100644 --- a/include/m_protosvc.h +++ b/include/m_protosvc.h @@ -721,6 +721,7 @@ struct PROTOFILERESUME #define PREF_CREATEREAD 1 // create the database event with the 'read' flag set #define PREF_RTL 4 // 0.5+ addition: support for right-to-left messages #define PREF_SENT 16 // message will be created with the DBEF_SENT flag +#define PREF_ENCRYPTED 32 // message is encrypted struct PROTORECVEVENT { -- cgit v1.2.3