about summary refs log tree commit diff stats
path: root/src/xmpp/xmpp.h
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-02-10 13:19:54 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-02-10 13:19:54 +0100
commitf16d56a15eb521e14d03779c19edfe96dc2e55ac (patch)
tree74f852bc8d1879d752a5021250471bc796520e82 /src/xmpp/xmpp.h
parent968006e1ddf97b5d9e8245c9dabbb0cfcfca2c3a (diff)
downloadprofani-tty-f16d56a15eb521e14d03779c19edfe96dc2e55ac.tar.gz
xep-0308: Initial support for incoming LMC
Diffstat (limited to 'src/xmpp/xmpp.h')
-rw-r--r--src/xmpp/xmpp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xmpp/xmpp.h b/src/xmpp/xmpp.h
index f5b4ce70..dc1cdf27 100644
--- a/src/xmpp/xmpp.h
+++ b/src/xmpp/xmpp.h
@@ -68,6 +68,7 @@
 #define XMPP_FEATURE_PUBSUB "http://jabber.org/protocol/pubsub"
 #define XMPP_FEATURE_PUBSUB_PUBLISH_OPTIONS "http://jabber.org/protocol/pubsub#publish-options"
 #define XMPP_FEATURE_USER_AVATAR_METADATA_NOTIFY "urn:xmpp:avatar:metadata+notify"
+#define XMPP_FEATURE_LAST_MESSAGE_CORRECTION "urn:xmpp:message-correct:0"
 
 typedef enum {
     JABBER_CONNECTING,
@@ -130,6 +131,8 @@ typedef struct prof_message_t {
    char *id;
    /* </origin-id> XEP-0359 */
    char *originid;
+   /* <replace id> XEP-0308 LMC */
+   char *replace_id;
    /* The raw body from xmpp message, either plaintext or OTR encrypted text */
    char *body;
    /* The encrypted message as for PGP */