diff options
| author | George Hazan <ghazan@miranda.im> | 2023-04-17 21:08:49 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2023-04-17 21:08:49 +0300 |
| commit | b6bb2574a234f205b4809aa3b4a37788a8a85063 (patch) | |
| tree | 0a39715ec76a7d44fe6bdec7a4e2f2367384a297 /include | |
| parent | 84f1eac98d46db881cc5c1cb09939bdae67224a9 (diff) | |
Jabber: more OMEMO related fixes
Diffstat (limited to 'include')
| -rw-r--r-- | include/m_database.h | 1 | ||||
| -rw-r--r-- | include/m_protosvc.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/m_database.h b/include/m_database.h index b55c1abedc..b8a2ce2c86 100644 --- a/include/m_database.h +++ b/include/m_database.h @@ -178,6 +178,7 @@ struct DBVARIANT #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
+#define DBEF_SECURE_STRONG 0x0100 // event has unique server id
struct DBEVENTINFO
{
diff --git a/include/m_protosvc.h b/include/m_protosvc.h index 11963877d0..e65682d949 100644 --- a/include/m_protosvc.h +++ b/include/m_protosvc.h @@ -144,6 +144,7 @@ static __inline unsigned long Proto_Status2Flag(int status) #define PFLAG_UNIQUEIDTEXT 100 // returns a static buffer of text describing the unique field by which this protocol identifies users (already translated), or NULL
#define PFLAG_MAXCONTACTSPERPACKET 200 // returns the maximum number of contacts which can be sent in a single PSS_CONTACTS, lParam = (LPARAM)hContact.
#define PFLAG_MAXLENOFMESSAGE 400 // return the maximum length of an instant message, lParam = (LPARAM)hContact
+#define PFLAG_GETCURRENTENCRYPTION 800 // returns current encryption name
///////////////////////////////////////////////////////////////////////////////
// A protocol might not support this cap, it allows a protocol to say that
@@ -722,6 +723,7 @@ struct PROTOFILERESUME #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
+#define PREF_ENCRYPTED_STRONG 64// message is encrypted with verified key
struct PROTORECVEVENT
{
|
