diff --git a/src/event/client_events.c b/src/event/client_events.c index 0f50594f..e704de78 100644 --- a/src/event/client_events.c +++ b/src/event/client_events.c @@ -405,7 +405,7 @@ cl_ev_send_priv_msg(ProfPrivateWin *privwin, const char *const msg, const char * message_send_private(privwin->fulljid, plugin_msg, oob_url); chat_log_msg_out(jidp->barejid, plugin_msg, jidp->resourcepart); - privwin_outgoing_msg(privwin, NULL, NULL, plugin_msg); + privwin_outgoing_msg(privwin, plugin_msg); plugins_post_priv_message_send(privwin->fulljid, plugin_msg); diff --git a/src/ui/privwin.c b/src/ui/privwin.c index 9a64cd13..8fc1bcc7 100644 --- a/src/ui/privwin.c +++ b/src/ui/privwin.c @@ -91,11 +91,11 @@ privwin_incoming_msg(ProfPrivateWin *privatewin, ProfMessage *message) } void -privwin_outgoing_msg(ProfPrivateWin *privwin, const char *const id, const char *const replace_id, const char *const message) +privwin_outgoing_msg(ProfPrivateWin *privwin, const char *const message) { assert(privwin != NULL); - win_print_outgoing((ProfWin*)privwin, '-', id, replace_id ,"%s", message); + win_print_outgoing((ProfWin*)privwin, '-', NULL, NULL ,"%s", message); } void diff --git a/src/ui/ui.h b/src/ui/ui.h index addb50b2..77bdc1d5 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -198,7 +198,7 @@ void mucwin_unset_message_char(ProfMucWin *mucwin); // MUC private chat window void privwin_incoming_msg(ProfPrivateWin *privatewin, ProfMessage *message); -void privwin_outgoing_msg(ProfPrivateWin *privwin, const char *const id, const char *const replace_id, const char *const message); +void privwin_outgoing_msg(ProfPrivateWin *privwin, const char *const message); void privwin_message_occupant_offline(ProfPrivateWin *privwin); void privwin_message_left_room(ProfPrivateWin *privwin);