about summary refs log tree commit diff stats
path: root/src/ui/window.h
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-02-14 11:09:45 +0100
committerGitHub <noreply@github.com>2020-02-14 11:09:45 +0100
commitc995f3150e8582907c749968e2c0c8b1022a43c1 (patch)
treeb8c0dd70d0a260b289400473eee909b3fffc45ea /src/ui/window.h
parent968006e1ddf97b5d9e8245c9dabbb0cfcfca2c3a (diff)
parent4241917fbaa7da4c108236eaec27fdfff84d72fe (diff)
downloadprofani-tty-c995f3150e8582907c749968e2c0c8b1022a43c1.tar.gz
Merge pull request #1267 from profanity-im/feature/xep-0308-lmc
XEP-0308 Last Message Correction
Diffstat (limited to 'src/ui/window.h')
-rw-r--r--src/ui/window.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/window.h b/src/ui/window.h
index b1f9a4af..2bd11621 100644
--- a/src/ui/window.h
+++ b/src/ui/window.h
@@ -3,6 +3,7 @@
  * vim: expandtab:ts=4:sts=4:sw=4
  *
  * Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
+ * Copyright (C) 2019 - 2020 Michael Vetter <jubalh@iodoru.org>
  *
  * This file is part of Profanity.
  *
@@ -62,17 +63,16 @@ void win_show_status_string(ProfWin *window, const char *const from,
     const char *const default_show);
 
 void win_print_them(ProfWin *window, theme_item_t theme_item, char ch, int flags, const char *const them);
-void win_println_them_message(ProfWin *window, char ch, int flags, const char *const them, const char *const message, ...);
-void win_println_me_message(ProfWin *window, char ch, const char *const me, const char *const message, ...);
+void win_println_incoming_muc_msg(ProfWin *window, char ch, int flags, const char *const them, const char *const id, const char *const replace_id, const char *const message, ...);
+void win_print_outgoing_muc_msg(ProfWin *window, char ch, const char *const me, const char *const id, const char *const replace_id, const char *const message, ...);
 
-void win_print_outgoing(ProfWin *window, const char ch, const char *const message, ...);
+void win_print_outgoing(ProfWin *window, const char ch, const char *const id, const char *const replace_id, const char *const message, ...);
 void win_print_incoming(ProfWin *window, const char *const from, ProfMessage *message);
 void win_print_history(ProfWin *window, GDateTime *timestamp, const char *const message, ...);
 
 void win_print_http_upload(ProfWin *window, const char *const message, char *url);
 
-void win_print_with_receipt(ProfWin *window, const char show_char, const char *const from, const char *const message,
-    char *id);
+void win_print_outgoing_with_receipt(ProfWin *window, const char show_char, const char *const from, const char *const message, char *id, const char *const replace_id);
 
 void win_newline(ProfWin *window);
 void win_redraw(ProfWin *window);