From 11181100712fc2a1c2f310b4470d752488e8961e Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 10 Feb 2020 16:17:01 +0100 Subject: 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. --- src/ui/win_types.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ui/win_types.h') diff --git a/src/ui/win_types.h b/src/ui/win_types.h index 68ed719e..0a0545bd 100644 --- a/src/ui/win_types.h +++ b/src/ui/win_types.h @@ -160,6 +160,9 @@ typedef struct prof_chat_win_t { char *enctext; char *incoming_char; char *outgoing_char; + // For LMC + char *last_message; + char *last_msg_id; } ProfChatWin; typedef struct prof_muc_win_t { -- cgit 1.4.1-2-gfad0