diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-02-10 16:17:01 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-02-10 16:17:01 +0100 |
commit | 11181100712fc2a1c2f310b4470d752488e8961e (patch) | |
tree | cd5b5341d86e48e7df09c6bfc9414dfc296144ca /src/xmpp/stanza.h | |
parent | 83b61e5160b6624eb0b2898c1321d33341e6510c (diff) | |
download | profani-tty-11181100712fc2a1c2f310b4470d752488e8961e.tar.gz |
xep-0308: Implement `/correct` to correct the last send message
So far the correction is sent. But the UI in Profanity itself is not updated. Also autocompletion for `/correct` with the last sent message is missing.
Diffstat (limited to 'src/xmpp/stanza.h')
-rw-r--r-- | src/xmpp/stanza.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmpp/stanza.h b/src/xmpp/stanza.h index dc8c4e34..ee5c6772 100644 --- a/src/xmpp/stanza.h +++ b/src/xmpp/stanza.h @@ -245,6 +245,7 @@ xmpp_stanza_t* stanza_attach_hints_store(xmpp_ctx_t *ctx, xmpp_stanza_t *stanza) xmpp_stanza_t* stanza_attach_receipt_request(xmpp_ctx_t *ctx, xmpp_stanza_t *stanza); xmpp_stanza_t* stanza_attach_x_oob_url(xmpp_ctx_t *ctx, xmpp_stanza_t *stanza, const char *const url); xmpp_stanza_t* stanza_attach_origin_id(xmpp_ctx_t *ctx, xmpp_stanza_t *stanza, const char *const id); +xmpp_stanza_t* stanza_attach_correction(xmpp_ctx_t *ctx, xmpp_stanza_t *stanza, const char *const replace_id); xmpp_stanza_t* stanza_create_room_join_presence(xmpp_ctx_t *const ctx, const char *const full_room_jid, const char *const passwd); |