diff options
author | James Booth <boothj5@gmail.com> | 2015-06-21 21:42:58 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-06-21 21:42:58 +0100 |
commit | 3d2f999efb9995e003f0d18dba059357721b272a (patch) | |
tree | 6ee40c60c550eead99a51de119c5d9e8f579b6b4 /src/event/client_events.c | |
parent | 446027b9505342c09f62f6d7a279c65a0d1db107 (diff) | |
download | profani-tty-3d2f999efb9995e003f0d18dba059357721b272a.tar.gz |
Added PGP logging preferences
Diffstat (limited to 'src/event/client_events.c')
-rw-r--r-- | src/event/client_events.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/event/client_events.c b/src/event/client_events.c index 016f8b24..1ddb3d22 100644 --- a/src/event/client_events.c +++ b/src/event/client_events.c @@ -101,8 +101,7 @@ cl_ev_send_msg(ProfChatWin *chatwin, const char * const msg) } } else { // enc_mode = PROF_ENC_PGP char *id = message_send_chat_pgp(chatwin->barejid, msg); - // TODO pgp message logger - chat_log_msg_out(chatwin->barejid, msg); + chat_log_pgp_msg_out(chatwin->barejid, msg); ui_outgoing_chat_msg(chatwin, msg, id); free(id); } @@ -135,8 +134,7 @@ cl_ev_send_msg(ProfChatWin *chatwin, const char * const msg) free(id); } else if (enc_mode == PROF_ENC_PGP) { char *id = message_send_chat_pgp(chatwin->barejid, msg); - // TODO pgp message logger - chat_log_msg_out(chatwin->barejid, msg); + chat_log_pgp_msg_out(chatwin->barejid, msg); ui_outgoing_chat_msg(chatwin, msg, id); free(id); } |