Add prof_message_t to wrap all message attributes
Probably missing copy of body to plain in carbon and privmessage. Only covers the incoming message path because goal is OMEMO decryption of untrusted message. Cover some of the log functions but not all.
This commit is contained in:
@@ -60,13 +60,12 @@ void win_show_status_string(ProfWin *window, const char *const from,
|
||||
GDateTime *last_activity, const char *const pre,
|
||||
const char *const default_show);
|
||||
|
||||
void win_print_them(ProfWin *window, theme_item_t theme_item, char ch, const char *const them);
|
||||
void win_println_them_message(ProfWin *window, char ch, const char *const them, const char *const message, ...);
|
||||
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_print_outgoing(ProfWin *window, const char ch, const char *const message, ...);
|
||||
void win_print_incoming(ProfWin *window, GDateTime *timestamp,
|
||||
const char *const from, const char *const message, prof_enc_t enc_mode);
|
||||
void win_print_incoming(ProfWin *window, const char *const from, prof_message_t *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);
|
||||
|
||||
Reference in New Issue
Block a user