diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-02-10 13:19:54 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-02-10 13:19:54 +0100 |
commit | f16d56a15eb521e14d03779c19edfe96dc2e55ac (patch) | |
tree | 74f852bc8d1879d752a5021250471bc796520e82 /src/xmpp/xmpp.h | |
parent | 968006e1ddf97b5d9e8245c9dabbb0cfcfca2c3a (diff) | |
download | profani-tty-f16d56a15eb521e14d03779c19edfe96dc2e55ac.tar.gz |
xep-0308: Initial support for incoming LMC
Diffstat (limited to 'src/xmpp/xmpp.h')
-rw-r--r-- | src/xmpp/xmpp.h | 3 |
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 */ |