diff options
Diffstat (limited to 'src/event/client_events.c')
-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 ec9516a2..0579b07d 100644 --- a/src/event/client_events.c +++ b/src/event/client_events.c @@ -94,14 +94,14 @@ cl_ev_send_msg(ProfChatWin *chatwin, const char *const msg) if (chatwin->pgp_send) { char *id = message_send_chat_pgp(chatwin->barejid, msg); chat_log_pgp_msg_out(chatwin->barejid, msg); - ui_outgoing_chat_msg(chatwin, msg, id, PROF_MSG_PGP); + chatwin_outgoing_msg(chatwin, msg, id, PROF_MSG_PGP); free(id); } else { gboolean handled = otr_on_message_send(chatwin, msg); if (!handled) { char *id = message_send_chat(chatwin->barejid, msg); chat_log_msg_out(chatwin->barejid, msg); - ui_outgoing_chat_msg(chatwin, msg, id, PROF_MSG_PLAIN); + chatwin_outgoing_msg(chatwin, msg, id, PROF_MSG_PLAIN); free(id); } } @@ -116,7 +116,7 @@ cl_ev_send_msg(ProfChatWin *chatwin, const char *const msg) if (!handled) { char *id = message_send_chat(chatwin->barejid, msg); chat_log_msg_out(chatwin->barejid, msg); - ui_outgoing_chat_msg(chatwin, msg, id, PROF_MSG_PLAIN); + chatwin_outgoing_msg(chatwin, msg, id, PROF_MSG_PLAIN); free(id); } return; @@ -129,12 +129,12 @@ cl_ev_send_msg(ProfChatWin *chatwin, const char *const msg) if (chatwin->pgp_send) { char *id = message_send_chat_pgp(chatwin->barejid, msg); chat_log_pgp_msg_out(chatwin->barejid, msg); - ui_outgoing_chat_msg(chatwin, msg, id, PROF_MSG_PGP); + chatwin_outgoing_msg(chatwin, msg, id, PROF_MSG_PGP); free(id); } else { char *id = message_send_chat(chatwin->barejid, msg); chat_log_msg_out(chatwin->barejid, msg); - ui_outgoing_chat_msg(chatwin, msg, id, PROF_MSG_PLAIN); + chatwin_outgoing_msg(chatwin, msg, id, PROF_MSG_PLAIN); free(id); } return; @@ -146,7 +146,7 @@ cl_ev_send_msg(ProfChatWin *chatwin, const char *const msg) #ifndef HAVE_LIBGPGME char *id = message_send_chat(chatwin->barejid, msg); chat_log_msg_out(chatwin->barejid, msg); - ui_outgoing_chat_msg(chatwin, msg, id, PROF_MSG_PLAIN); + chatwin_outgoing_msg(chatwin, msg, id, PROF_MSG_PLAIN); free(id); return; #endif |