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,10 +60,10 @@ void chat_log_otr_msg_out(const char * const barejid, const char * const msg) {}
|
||||
void chat_log_pgp_msg_out(const char * const barejid, const char * const msg) {}
|
||||
void chat_log_omemo_msg_out(const char *const barejid, const char *const msg) {}
|
||||
|
||||
void chat_log_msg_in(const char * const barejid, const char * const msg, GDateTime *timestamp) {}
|
||||
void chat_log_otr_msg_in(const char * const barejid, const char * const msg, gboolean was_decrypted, GDateTime *timestamp) {}
|
||||
void chat_log_pgp_msg_in(const char * const barejid, const char * const msg, GDateTime *timestamp) {}
|
||||
void chat_log_omemo_msg_in(const char *const barejid, const char *const msg, GDateTime *timestamp) {}
|
||||
void chat_log_msg_in(prof_message_t *message) {}
|
||||
void chat_log_otr_msg_in(prof_message_t *message) {}
|
||||
void chat_log_pgp_msg_in(prof_message_t *message) {}
|
||||
void chat_log_omemo_msg_in(prof_message_t *message) {}
|
||||
|
||||
void chat_log_close(void) {}
|
||||
GSList * chat_log_get_previous(const gchar * const login,
|
||||
|
||||
Reference in New Issue
Block a user