about summary refs log tree commit diff stats
path: root/src/xmpp/message.h
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-10-21 09:56:15 +0200
committerGitHub <noreply@github.com>2019-10-21 09:56:15 +0200
commitc4a52b13e856ecf6bade35d01aa6a75f4de3e3fc (patch)
tree2eefe61ded353c476a4d3a961929c777c1e68dbf /src/xmpp/message.h
parent452a9f645e0f6232a03758942e85dcf0109a1ab9 (diff)
parent963ab841b42fdb1d80594b609a589a25b4034aa7 (diff)
downloadprofani-tty-c4a52b13e856ecf6bade35d01aa6a75f4de3e3fc.tar.gz
Merge pull request #1209 from jubalh/feature/xep-0359
XEP-0359
Diffstat (limited to 'src/xmpp/message.h')
-rw-r--r--src/xmpp/message.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/xmpp/message.h b/src/xmpp/message.h
index badfba72..7faa45d7 100644
--- a/src/xmpp/message.h
+++ b/src/xmpp/message.h
@@ -37,28 +37,6 @@
 
 #include "xmpp/xmpp.h"
 
-typedef enum {
-    PROF_MSG_ENC_PLAIN,
-    PROF_MSG_ENC_OTR,
-    PROF_MSG_ENC_PGP,
-    PROF_MSG_ENC_OMEMO
-} prof_enc_t;
-
-typedef struct prof_message_t {
-   Jid *jid;
-   char *id;
-   /* The raw body from xmpp message, either plaintext or OTR encrypted text */
-   char *body;
-   /* The encrypted message as for PGP */
-   char *encrypted;
-   /* The message that will be printed on screen and logs */
-   char *plain;
-   GDateTime *timestamp;
-   prof_enc_t enc;
-   gboolean trusted;
-   gboolean mucuser;
-} ProfMessage;
-
 typedef int(*ProfMessageCallback)(xmpp_stanza_t *const stanza, void *const userdata);
 typedef void(*ProfMessageFreeCallback)(void *userdata);