Added ui_win_error_line()

This commit is contained in:
James Booth
2015-04-29 23:16:28 +01:00
parent 665c34414d
commit 2e75e54460
4 changed files with 10 additions and 2 deletions

View File

@@ -69,8 +69,7 @@ cl_ev_send_msg(ProfChatWin *chatwin, const char * const msg)
prof_otrsendres_t res = otr_on_message_send(chatwin->barejid, msg);
if (res != PROF_OTRSUCCESS) {
char *errmsg = otr_senderror_str(res);
// TODO reference passed window
ui_current_error_line(errmsg);
ui_win_error_line((ProfWin*)chatwin, errmsg);
}
#else
char *id = message_send_chat(chatwin->barejid, msg);