diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-10-29 15:20:24 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-10-29 15:20:24 +0100 |
commit | aa0c638394e67a2f14d9e51827018742e64c39fd (patch) | |
tree | ca264a5957ec15fcf45fb0c030845c3572205f83 /src/event | |
parent | 6bfdc5422c332e5abb98636469ce9f1a580df08a (diff) | |
download | profani-tty-aa0c638394e67a2f14d9e51827018742e64c39fd.tar.gz |
Update chat_log_pgp_msg_out() usage
Fix build
Diffstat (limited to 'src/event')
-rw-r--r-- | src/event/client_events.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/event/client_events.c b/src/event/client_events.c index 21640150..77b93832 100644 --- a/src/event/client_events.c +++ b/src/event/client_events.c @@ -144,7 +144,7 @@ cl_ev_send_msg(ProfChatWin *chatwin, const char *const msg, const char *const oo #ifndef HAVE_OMEMO if (chatwin->pgp_send) { char *id = message_send_chat_pgp(chatwin->barejid, plugin_msg, request_receipt); - chat_log_pgp_msg_out(chatwin->barejid, plugin_msg); + chat_log_pgp_msg_out(chatwin->barejid, plugin_msg, NULL); chatwin_outgoing_msg(chatwin, plugin_msg, id, PROF_MSG_ENC_PGP, request_receipt); free(id); } else { @@ -189,7 +189,7 @@ cl_ev_send_msg(ProfChatWin *chatwin, const char *const msg, const char *const oo #ifndef HAVE_OMEMO if (chatwin->pgp_send) { char *id = message_send_chat_pgp(chatwin->barejid, plugin_msg, request_receipt); - chat_log_pgp_msg_out(chatwin->barejid, plugin_msg); + chat_log_pgp_msg_out(chatwin->barejid, plugin_msg, NULL); chatwin_outgoing_msg(chatwin, plugin_msg, id, PROF_MSG_ENC_PGP, request_receipt); free(id); } else { @@ -212,7 +212,7 @@ cl_ev_send_msg(ProfChatWin *chatwin, const char *const msg, const char *const oo #ifdef HAVE_OMEMO if (chatwin->is_omemo) { char *id = omemo_on_message_send((ProfWin *)chatwin, plugin_msg, request_receipt, FALSE); - chat_log_omemo_msg_out(chatwin->barejid, plugin_msg); + chat_log_omemo_msg_out(chatwin->barejid, plugin_msg, NULL); chatwin_outgoing_msg(chatwin, plugin_msg, id, PROF_MSG_ENC_OMEMO, request_receipt); free(id); } else { @@ -235,7 +235,7 @@ cl_ev_send_msg(ProfChatWin *chatwin, const char *const msg, const char *const oo #ifdef HAVE_OMEMO if (chatwin->is_omemo) { char *id = omemo_on_message_send((ProfWin *)chatwin, plugin_msg, request_receipt, FALSE); - chat_log_omemo_msg_out(chatwin->barejid, plugin_msg); + chat_log_omemo_msg_out(chatwin->barejid, plugin_msg, NULL); chatwin_outgoing_msg(chatwin, plugin_msg, id, PROF_MSG_ENC_OMEMO, request_receipt); free(id); } else { @@ -261,12 +261,12 @@ cl_ev_send_msg(ProfChatWin *chatwin, const char *const msg, const char *const oo #ifdef HAVE_OMEMO if (chatwin->is_omemo) { char *id = omemo_on_message_send((ProfWin *)chatwin, plugin_msg, request_receipt, FALSE); - chat_log_omemo_msg_out(chatwin->barejid, plugin_msg); + chat_log_omemo_msg_out(chatwin->barejid, plugin_msg, NULL); chatwin_outgoing_msg(chatwin, plugin_msg, id, PROF_MSG_ENC_OMEMO, request_receipt); free(id); } else if (chatwin->pgp_send) { char *id = message_send_chat_pgp(chatwin->barejid, plugin_msg, request_receipt); - chat_log_pgp_msg_out(chatwin->barejid, plugin_msg); + chat_log_pgp_msg_out(chatwin->barejid, plugin_msg, NULL); chatwin_outgoing_msg(chatwin, plugin_msg, id, PROF_MSG_ENC_PGP, request_receipt); free(id); } else { |