about summary refs log tree commit diff stats
path: root/src/command/cmd_funcs.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-02-11 15:26:58 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-02-11 15:26:58 +0100
commitb6b7dd5ad497a71e250b8b3cef0bb987314b141d (patch)
tree150adcde6b07ad55f6bfb5a9db8db10c239bc6ac /src/command/cmd_funcs.c
parent11181100712fc2a1c2f310b4470d752488e8961e (diff)
downloadprofani-tty-b6b7dd5ad497a71e250b8b3cef0bb987314b141d.tar.gz
xep-0308: update the UI upon sending a corrected message
So far we don't do this for encrypted messages. Still needs to be done.
And MUC also needs to be done.
Diffstat (limited to 'src/command/cmd_funcs.c')
-rw-r--r--src/command/cmd_funcs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index 9620f0d7..08a3554c 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -8716,6 +8716,7 @@ cmd_correct(ProfWin *window, const char *const command, gchar **args)
         */
         // speciel send with replace tag
         cl_ev_send_msg_correct(chatwin, args[0], FALSE, TRUE);
+        return TRUE;
     }
 
     win_println(window, THEME_DEFAULT, '!', "Command /correct only valid in regular chat windows.");